title: How to set proxy server for gradle?
body: <p>I need to set a proxy server to be able to use gradle from my company's network to download project dependencies.I tried setting the proxy for shell, but it didn't work, so i assume it is because of the commands, gradle using to download these dependencies, does not use http_proxy environment variable.</p>
  
  <p>Which commands (like <code>wget</code>, <code>curl</code>) does gradle use when downloading project dependencies? How can i check these commands? I tried both --info and --debug options, but it only says for each file something like;</p>
  
  <pre><code>Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.1.0/lint-25.1.0.pom
  </code></pre>