How to use socks with gradle for dependency resolving, in command line? -
when jcenter not accessible without proxy server, resolve dependencies, , want use socks instead of http proxy, how can use in commanad line? know how use http proxy:
-dhttp.proxyhost=yourproxy -dhttp.proxyport=yourport -dhttp.proxyuser=usernameproxy -dhttp.proxypassword=yourpassoword
i found answer, here can use:
./gradlew -dsocksproxyhost=yourhost -dsocksproxyport=yourhostport your-command
using above can set socks host , port.
Comments
Post a Comment