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.

BuildWorkResult

Summary result of the execution of the work scheduled for the current build.

Since

8.1

See also

Functions

Link copied to clipboard
abstract fun getFailure(): Optional<Throwable>
A summary of the configuration time and execution time failure(s) that occurred as Gradle tried to execute the scheduled work.