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.
JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
org.gradle.api.tasks
TaskAction
Contents
Description
Hide sidebar
Show sidebar
Annotation Type TaskAction
@Retention
(
RUNTIME
)
@Target
(
METHOD
)
@Inherited
public @interface
TaskAction
Marks a method as the action to run when the task is executed.
Since:
0.8