ENH REQUEST: Gradle wrapper pointer for latest version of gradle

It’s easy to install gradle using sdk, brew, etc and it’ll just by default grab the latest version of gradle.

However, when you’re using the wrapper already there is no way to ask for the latest version.

It would be great if we could do:

./gradlew wrapper --gradle-version=+
or
./gradlew wrapper --gradle-version=latest

for the system to just install/upgrade to the latest released version of gradle.jar

I’m pretty sure that’s what you get with just:
./gradlew wrapper

i.e., no version parameter

Gradle wrapper task just makes sure your jar version is up to date (whatever is in the gradle.properties file), not that it is the latest released version.