gradle 构建代理设置
在build.gradle 中添加(推荐):
System.setProperty('https.Host', '127.0.0.1')
System.setProperty('https.Port', '10808')或者
在 gradle.properties 中添加:
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=10808即可.
gradle 构建代理设置
https://nekoside.com/archives/gradle-gou-jian-dai-li-she-zhi