-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Description
Expected Behavior
When executing gradle wrapper --gradle-version
, the gradlew
scripts and wrapper.jar
should be taken from the version of Gradle given as the parameter (i.e. the target version).
Current Behavior
Currently the scripts and the wrapper.jar
is updated, but to the version of Gradle used to execute the wrapper
task, not the target version.
Context
Currently if the user wants to upgrade to the latest wrapper scripts and JAR, they need to run ./gradlew wrapper
after the wrapper version has been upgraded. This is not convenient. What's worse, most people don't know about this, and thus they use the wrapper scripts and JAR from a previous version of Gradle, which is mostly harmless, but it still violates the rule of least astonishment.
mkobit, eriwen, eskatos, huxi, wolfs and 27 moreManfredSchenkIOSB