Mac配置Gradle环境变量
vi ~/.bash_profile
#GRADLE GRADLE_HOME=/Users/qinxy/software/gradle-4.9 PATH=$PATH:$GRADLE_HOME/bin export GRADLE_HOME GRADLE_USER_HOME PATH
更新效
source ~/.bash_profile
验证
gradle -v
vi ~/.bash_profile
#GRADLE GRADLE_HOME=/Users/qinxy/software/gradle-4.9 PATH=$PATH:$GRADLE_HOME/bin export GRADLE_HOME GRADLE_USER_HOME PATH
source ~/.bash_profile
gradle -v