GradleBuild (Gradle API 2.14.1)

org.gradle.tooling.model.gradle

## Interface GradleBuild

- All Superinterfaces:
    Model

      @Incubating
      public interface GradleBuild
      extends Model

  Provides information about the structure of a Gradle build.
  Since:
    1.8

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BuildIdentifier` | `getBuildIdentifier()` Returns the identifier for this Gradle build.
    `DomainObjectSet<? extends BasicGradleProject>` | `getProjects()` Returns the set of all projects for this build.
    `BasicGradleProject` | `getRootProject()` Returns the root project for this build.

- - ### Method Detail

    - #### getBuildIdentifier

          @Incubating
          BuildIdentifier getBuildIdentifier()

      Returns the identifier for this Gradle build.
      Since:
        2.13

    - #### getRootProject

          BasicGradleProject getRootProject()

      Returns the root project for this build.
      Returns:
        The root project

    - #### getProjects

          DomainObjectSet<? extends BasicGradleProject> getProjects()

      Returns the set of all projects for this build. Will include the root project and any ancestors.
      Returns:
        The set of all projects.