BuildModel
, Model
public interface GradleBuild extends Model, BuildModel
Modifier and Type | Method | Description |
---|---|---|
BuildIdentifier |
getBuildIdentifier() |
Returns the identifier for this Gradle build.
|
DomainObjectSet<? extends GradleBuild> |
getEditableBuilds() |
Returns all builds contained in this build for which tooling models should be built when importing into an IDE.
|
DomainObjectSet<? extends GradleBuild> |
getIncludedBuilds() |
Returns the included builds that were referenced by this build.
|
DomainObjectSet<? extends BasicGradleProject> |
getProjects() |
Returns the set of all projects for this build.
|
BasicGradleProject |
getRootProject() |
Returns the root project for this build.
|
BuildIdentifier getBuildIdentifier()
getBuildIdentifier
in interface BuildModel
BasicGradleProject getRootProject()
DomainObjectSet<? extends BasicGradleProject> getProjects()
DomainObjectSet<? extends GradleBuild> getIncludedBuilds()
Settings
instance.@Incubating DomainObjectSet<? extends GradleBuild> getEditableBuilds()
This is not always the same the builds returned by getIncludedBuilds()
. For the root build, the 'editable' builds set contains all builds that participate in the composite build, including those directly included by the root build plus all builds included by any nested included builds transitively. For all other builds, this set is empty.