Moon Light Box

Time is Money

Linux - Install Gradle in CentOS 7

| Comments

Step 1. Download and Install Gradle.

# cd /opt
# sudo wget https://services.gradle.org/distributions/gradle-3.1-bin.zip
# sudo unzip gradle-3.1-bin.zip
# sudo ln -s gradle-3.1 gradle

Step 2. Set Gradle Environment Value.

# sudo vim /etc/profile.d/gradle-env.sh

export GRADLE_HOME=/opt/gradle
export PATH=$PATH:$GRADLE_HOME/bin

# sudo source /etc/profile.d/gradle-env.sh

Comments

comments powered by Disqus