Skip to content

Instantly share code, notes, and snippets.

View DavidBiesack's full-sized avatar

David Biesack DavidBiesack

View GitHub Profile
@DavidBiesack
DavidBiesack / install-gradle-centos.sh
Last active December 14, 2016 20:15 — forked from parzonka/install-gradle-centos.sh
Install gradle on redhat/centos linux
# bash/sh script to install Gradle to /opt/gradle/gradle-2.14 with symlink /opt/gradle/latest
# Existing versions are not overwritten/deleted
# $GRADLE_HOME points to latest *installed* (not latest released)
# paste this into a shell or execute it with . install-gradle-centos.sh
gradle_version=2.14
zip=gradle-${gradle_version}-all.zip
test -d /opt/gradle || sudo /bin/mkdir -p /opt/gradle
cd /opt/gradle
sudo /bin/wget -N --no-directories --quiet https://downloads.gradle.org/distributions/$zip