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

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

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