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

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -