Gradle Wrapper: Difference between revisions

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


=Configuration=
=Configuration=
==<tt>gradle/wrapper/gradlew-wrapper.properties</tt>==
==<tt>gradlew-wrapper.properties</tt>==
Maintained in the project under gradle/wrapper/gradlew-wrapper.properties:
<syntaxhighlight lang='text'>
<syntaxhighlight lang='text'>
distributionBase=GRADLE_USER_HOME
distributionBase=GRADLE_USER_HOME

Revision as of 22:47, 26 March 2021

Internal

Organizatorium

  • Each wrapper comes with sources: ~/.gradle/wrapper/dists/gradle-6.2.2-all/2k4hz1yffuhb6ob9prdg10tx/gradle-6.2.2/src
  • The corresponding JAR file and the wrapper configuration is stored in the project directory under gradle/wrapper.

Configuration

gradlew-wrapper.properties

Maintained in the project under gradle/wrapper/gradlew-wrapper.properties:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists