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.

BuildAction

An action that executes against a Gradle build and produces a result of type T.

You can execute a BuildAction using the action method.

Since

1.8

Parameters

<T>

The type of result produced by this action.

Functions

Link copied to clipboard
abstract fun execute(controller: BuildController): T
Executes this action and returns the result.