Last active
July 10, 2019 15:52
-
-
Save jbouse/8c78cf0881eb57a6c7942712717c248e to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
GRADLE_VERSION=$(curl -fsSL https://services.gradle.org/versions/current |jq --raw-output '.version') \ | |
&& wget https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip \ | |
&& unzip -d /usr/local gradle-${GRADLE_VERSION}-bin.zip \ | |
&& ln -sf /usr/local/gradle-${GRADLE_VERSION} /usr/local/gradle \ | |
&& rm -f gradle-${GRADLE_VERSION}-bin.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment