Model, ProjectModelpublic interface BuildInvocations extends Model, ProjectModel
Launchable instances that can be used
to initiate Gradle build.
To launch a build, you pass one or more Launchable instances
to either BuildLauncher.forTasks(Iterable) or BuildLauncher.forLaunchables(Iterable).
| Modifier and Type | Method | Description |
|---|---|---|
ProjectIdentifier |
getProjectIdentifier() |
Returns the identifier for the Gradle project that these invocations originate from.
|
DomainObjectSet<? extends Task> |
getTasks() |
Returns the tasks that can be used to execute a build.
|
DomainObjectSet<? extends TaskSelector> |
getTaskSelectors() |
Returns tasks selectors that can be used to execute a build.
|
ProjectIdentifier getProjectIdentifier()
getProjectIdentifier in interface ProjectModelDomainObjectSet<? extends TaskSelector> getTaskSelectors()
Launchable that requests to build all tasks with a given name in context of some project and all its subprojects.DomainObjectSet<? extends Task> getTasks()