1、下載gradle
2届氢、解壓gradle
mkdir /opt/gradle
unzip -d /opt/gradle gradle-6.8.1-bin.zip
ls /opt/gradle/gradle-6.8.1
3进统、配置環(huán)境變量
export PATH=$PATH:/opt/gradle/gradle-6.8.1/bin
source /etc/profile
4、查看是否安裝成功
gradle -v
1、下載gradle
2届氢、解壓gradle
mkdir /opt/gradle
unzip -d /opt/gradle gradle-6.8.1-bin.zip
ls /opt/gradle/gradle-6.8.1
3进统、配置環(huán)境變量
export PATH=$PATH:/opt/gradle/gradle-6.8.1/bin
source /etc/profile
4、查看是否安裝成功
gradle -v