Gradle Task: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 19: Line 19:


=Custom Tasks=
=Custom Tasks=
{{Internal|Extending Gradle#Custom_Task|Extending Gradle with Custom Tasks}}
{{Internal|Extending Gradle with Custom Tasks|Extending Gradle with Custom Tasks}}


=TO DEPLETE=
=TO DEPLETE=
{{Internal|Gradle Task TODEPLETE|Gradle Task TODEPLETE}}
{{Internal|Gradle Task TODEPLETE|Gradle Task TODEPLETE}}

Revision as of 06:15, 24 September 2020

External

Internal

Task API

org.gradle.api.Task

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.

Custom Tasks

Extending Gradle with Custom Tasks

TO DEPLETE

Gradle Task TODEPLETE