GradleBuild (Gradle API 3.2.1)
Date: 2016-11-22

org.gradle.tooling.model.gradle

## Interface GradleBuild

- All Superinterfaces:
    BuildModel, Model

      @Incubating
      public interface GradleBuild
      extends Model, BuildModel

  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.
      Specified by:
        `getBuildIdentifier` in interface `BuildModel`
      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.