Pages

Sunday, 13 November 2016

搭建gradle

wget https://downloads.gradle.org/distributions/gradle-3.1-all.zip
unzip gradle-3.1-all.zip
cd gradle-3.1/bin

root@AR:~/gradle-3.1/bin# ls
gradle gradle.bat

root@AR:~/gradle-3.1/bin# echo "export PATH=$PATH:~/gradle-3.1/bin/" >> /etc/profile && . /etc/profile
root@AR:~/gradle-3.1/bin# cd ~
root@AR:~# gradle -h

https://gradle.org/gradle-download/