Gradle installation in Centos 7.X
Distrib:
http://www.gradle.org/downloads
$ su - root
# cd /tmp
# wget https://services.gradle.org/distributions/gradle-2.4-all.zip
# unzip gradle-2.4-all.zip
# mkdir -p /opt/gradle/2.4
# mv gradle-2.4/* /opt/gradle/2.4/
# ln -s /opt/gradle/2.4/ /opt/gradle/current
# su - <username>
$ vi ~/.bash_profile
#### GRADLE 2.4 ###########################
export GRADLE_HOME=/opt/gradle/current
export PATH=$PATH:$GRADLE_HOME/bin
#### GRADLE 2.4 ###########################
$ source ~/.bash_profile
$ gradle -version