Last active
July 4, 2017 14:07
-
-
Save dacrome/8ef8bd4fee7cbbd9e2e6a10d5d9abc5d to your computer and use it in GitHub Desktop.
update gradle wrapper version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export NEW_GRADLE_VERSION=4.0 | |
# Yes 2 times to update all files | |
./gradlew wrapper --gradle-version $NEW_GRADLE_VERSION --distribution-type all | |
./gradlew wrapper --gradle-version $NEW_GRADLE_VERSION --distribution-type all | |
git commit -am "Update Gradle to version $NEW_GRADLE_VERSION" | |
git push HEAD:refs/heads/update-gradle-to-$NEW_GRADLE_VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"Update Gradle to version $NEW_GRADLE_VERSION": Shouldn't that be "Upgradle to version $NEW_GRADLE_VERSION"? :)