For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

BuildInvocations

A model providing access to org.gradle.tooling.model.Launchable instances that can be used to initiate Gradle build.

To launch a build, you pass one or more org.gradle.tooling.model.Launchable instances to either forTasks or forLaunchables.

Since

1.12

Functions

Link copied to clipboard
Returns the identifier for the Gradle project that these invocations originate from.
Link copied to clipboard
abstract fun getTasks(): DomainObjectSet<out Task>
Returns the tasks that can be used to execute a build.
Link copied to clipboard
Returns tasks selectors that can be used to execute a build.