安装
apt install gradle gradle -v
编译
gradle clean
打包
gradle build
--------------
手动安装gradle
wget https://services.gradle.org/distributions/gradle-6.8.3-bin.zip -P /home/download unzip -d /home/gradle /home/download/gradle-*.zip ls /home/gradle/gradle-6.8.3
配置环境变量
vim /etc/profile #最后追加 >>export GRADLE_HOME=/home/gradle/gradle-6.8.3 >>export PATH=$GRADLE_HOME/bin:$PATH >>:wq source /etc/profile
标签:profile,gradle,export,download,home,6.8 From: https://www.cnblogs.com/floud/p/16639798.html