Saturday, May 31, 2014

Install - Gradle

@ Download one of the Gradle distributions from the Gradle web site
$ wget https://services.gradle.org/distributions/gradle-1.12-bin.zip

@ Unpacking the file packaged as a ZIP
$ unzip ./gradle-1.12-bin.zip

@ Move the files to where you want
mv ./gradle-1.12 ../gradle

@ Add the following entries to your profile
$ vi ./.profile
#---------------------------------------------------------------
export GRADLE_HOME=/usr/local/gradle
export PATH=$GRADLE_HOME/bin:$PATH
#---------------------------------------------------------------

@ Execute this
$ source ./.profile

No comments:

Post a Comment