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.

Builder

interface Builder(source)

Builder for a build action that hooks into different phases of the build.

A single BuildAction is allowed per build phase. Use composite actions if needed.

Since

4.8

Functions

Link copied to clipboard
abstract fun build(): BuildActionExecuter<Void>
Builds the executer from the added actions.
Link copied to clipboard
Executes the given action after tasks are run and sends its result to the given result handler.
Link copied to clipboard
Executes the given action after projects are loaded and sends its result to the given result handler.