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.

BuildTask

interface BuildTask(source)

A task that was executed when running a specific build.

Since

2.6

See also

Functions

Link copied to clipboard
abstract fun getOutcome(): TaskOutcome
The outcome of attempting to execute this task.
Link copied to clipboard
abstract fun getPath(): String
The unique path of the task.