Follow the offical document , we can set http or https proxy in gradle.properties file
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=1080
But this do not support socks proxy , somebody give another way to support socks proxy
org.gradle.jvmargs=-Xmx1540m -XX:MaxMetaspaceSize=512m -DsocksProxyHost=127.0.0.1 -DsocksProxyHostPort=1099
When I set some memory relative params in org.gradle.jvmargs it really works
But I can not found -DsocksProxyHost and -DsocksProxyHostPort was passed to the JVM.
Anybody can explain ? Thanks