gradle配置
cd ~/.gradle
open gradle.properties
# http & https
systemProp.socks.proxyHost=127.0.0.1
systemProp.socks.proxyPort=7891
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=7890
# socks
org.gradle.jvmargs=-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=7891
文章评论