Gradle Task: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
=Task Name=
=Task Name=
<font color=darkgray>Define task name constraints. A dash is not allowed.</font>
<font color=darkgray>Define task name constraints. A dash is not allowed.</font>
=Task Structure=


=Task Configuration Closure=
=Task Configuration Closure=

Revision as of 03:49, 1 October 2020

External

Internal

Task API

org.gradle.api.Task

Overview

Task Name

Define task name constraints. A dash is not allowed.

Task Structure

Task Configuration Closure

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.

@TaskAction

Custom Tasks

Extending Gradle with Custom Tasks

TO DEPLETE

Gradle Task TODEPLETE