mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
625 B
Plaintext
26 lines
625 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|