Mac 系统
Mac 下,~/.gradle 文件夹下打开/新建 gradle.properties 文件,设置代理.
systemProp.http.nonProxyHosts=*.xcompany.com|localhost systemProp.http.proxyHost=127.0.0.1 systemProp.http.proxyPort=1087 systemProp.https.nonProxyHosts=*.xcompany.com|localhost systemProp.https.proxyHost=127.0.0.1 systemProp.https.proxyPort=1087
systemProp.http.proxyUser=userid systemProp.http.proxyPassword=password
|