Gradle tasks Task: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
* [[Gradle_Task#Built-in_Tasks|Gradle Task]]
* [[Gradle_Task#Built-in_Tasks|Gradle Task]]
=Overview=
=Overview=
Displays the tasks runnable from the project, grouped by their [[Gradle_Task#Group|task group]], and displaying their [[Gradle_Task#Description|description]].
A Gradle built-in task that displays the tasks runnable from the project, grouped by their [[Gradle_Task#Group|task group]], and displaying their [[Gradle_Task#Description|description]].


=Listing All Available Tasks=
=Listing All Available Tasks=
<syntaxhighlight lang='text'>
<syntaxhighlight lang='text'>
gradle tasks --all
gradle tasks --all
</syntaxhighlight>
=Listing Tasks for a Project=
<syntaxhighlight lang='text'>
gradle :projectA:tasks [--all]
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 00:02, 9 November 2020

Internal

Overview

A Gradle built-in task that displays the tasks runnable from the project, grouped by their task group, and displaying their description.

Listing All Available Tasks

gradle tasks --all

Listing Tasks for a Project

gradle :projectA:tasks [--all]