Gradle Wrapper Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Gradle Wrapper =Install Gradle Wrapper in a Project= <syntaxhighlight lang='bash'> gradle wrapper </syntaxhighlight> =Remove Gra...")
 
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
* [[Gradle_Wrapper#Operations|Gradle Wrapper]]
* [[Gradle_Wrapper#Operations|Gradle Wrapper]]


=Overview=
=Install Gradle Wrapper in a Project=
=Install Gradle Wrapper in a Project=
Install a gradle wrapper for the same version as the one that runs the command.


<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
gradle wrapper  
gradle wrapper [--gradle-version 6.8.3] [--distribution-type all]
</syntaxhighlight>
</syntaxhighlight>


=Remove Gradle Wrapper in a Project=
Normally [[gradle init]] also installs a wrapper in the project.
 
<syntaxhighlight lang='bash'>
gradle wrapper  
</syntaxhighlight>

Latest revision as of 01:26, 27 March 2021

Internal

Overview

Install Gradle Wrapper in a Project

Install a gradle wrapper for the same version as the one that runs the command.

gradle wrapper [--gradle-version 6.8.3] [--distribution-type all]

Normally gradle init also installs a wrapper in the project.