Gradle Wrapper Operations: 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_Wrapper#Operations|Gradle Wrapper]]
* [[Gradle_Wrapper#Operations|Gradle Wrapper]]


=Overview=
=Install Gradle Wrapper in a Project=
=Install Gradle Wrapper in a Project=


Line 7: Line 8:


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


Normally [[gradle init]] also installs a wrapper in the project.
Normally [[gradle init]] also installs a wrapper in the project.

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.