HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gradle wrapper — Generate the Gradle wrapper files for a project. More information: <https://docs.gradle.org/current/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandfilesgradle wrappercliwrappergradlegenerate

Problem

How to use the gradle wrapper command: Generate the Gradle wrapper files for a project. More information: <https://docs.gradle.org/current/userguide/gradle_wrapper.html>.

Solution

gradle wrapper — Generate the Gradle wrapper files for a project. More information: <https://docs.gradle.org/current/userguide/gradle_wrapper.html>.

Generate wrapper with the current Gradle version:
gradle wrapper


Generate wrapper with a specific Gradle version:
gradle wrapper --gradle-version {{8.5}}


Generate wrapper with a specific distribution type:
gradle wrapper --distribution-type {{bin|all}}


Generate wrapper using a specific distribution URL:
gradle wrapper --gradle-distribution-url {{url}}

Code Snippets

Generate wrapper with the current Gradle version

gradle wrapper

Generate wrapper with a specific Gradle version

gradle wrapper --gradle-version {{8.5}}

Generate wrapper with a specific distribution type

gradle wrapper --distribution-type {{bin|all}}

Generate wrapper using a specific distribution URL

gradle wrapper --gradle-distribution-url {{url}}

Context

tldr-pages: common/gradle wrapper

Revisions (0)

No revisions yet.