api / org.gradle.api.tasks / TaskAction

TaskAction

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) @Inherited class TaskAction

Marks a method as the action to run when the task is executed.

Constructors

<init>

TaskAction()

Marks a method as the action to run when the task is executed.