api / org.gradle.tooling.model.gradle / GradleBuild

GradleBuild

interface GradleBuild : Model, BuildModel

Provides information about the structure of a Gradle build.

Since
1.8

Functions

getBuildIdentifier

abstract fun getBuildIdentifier(): BuildIdentifier

Returns the identifier for this Gradle build.

getIncludedBuilds

abstract fun getIncludedBuilds(): DomainObjectSet<out GradleBuild>

Returns the builds that were included into this one.

getProjects

abstract fun getProjects(): DomainObjectSet<out BasicGradleProject>

Returns the set of all projects for this build.

getRootProject

abstract fun getRootProject(): BasicGradleProject

Returns the root project for this build.