Skip to content

Instantly share code, notes, and snippets.

@bseib
Last active April 6, 2018 22:03
Show Gist options
  • Save bseib/80ab521c714add3466b6c32515a9e074 to your computer and use it in GitHub Desktop.
Save bseib/80ab521c714add3466b6c32515a9e074 to your computer and use it in GitHub Desktop.
update version of gradle wrapper
#!/bin/sh
# from https://gradle.org/install/
#
# Upgrade with the Gradle Wrapper
# If your existing Gradle-based build uses the Gradle Wrapper, you can easily upgrade by
# running the wrapper task, specifying the desired Gradle version:
## update gradlew
./gradlew wrapper --gradle-version=4.6
## now we should see that gradlew is version 4.6
./gradlew --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment