Gradle Task: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
Task action closures can be used to [[Extending_Gradle_with_Custom_Tasks#Simple_Task|define]] custom simple tasks, in-line in [[build.gradle]] or in a [[Gradle_Plugin_Concepts#Script_Plugin|script plugin]]. | Task action closures can be used to [[Extending_Gradle_with_Custom_Tasks#Simple_Task|define]] custom simple tasks, in-line in [[build.gradle]] or in a [[Gradle_Plugin_Concepts#Script_Plugin|script plugin]]. | ||
==@TaskAction== | |||
=Custom Tasks= | =Custom Tasks= |
Revision as of 08:23, 24 September 2020
External
Internal
Task API
Overview
Task Name
Define task name constraints. A dash is not allowed.
Task Action
Task Action Closure
Task action closures can be used to define custom simple tasks, in-line in build.gradle or in a script plugin.