title: Gradle: set proxy properties through auto-detect proxy settings?
body: <p>I am using android studio in a network using proxy. Since I need to set the proxy in order to get gradle to work, i was doing some research. I know that adding to Gradle properties the following code should actually work:</p>
  
  <pre><code>systemProp.http.proxyHost=proxy.company.com
  systemProp.http.proxyPort=443
  systemProp.http.proxyUser=username
  systemProp.http.proxyPassword=password
  systemProp.http.auth.ntlm.domain=domain
  
  systemProp.https.proxyHost=proxy.company.com
  systemProp.https.proxyPort=443
  systemProp.https.proxyUser=username
  systemProp.https.proxyPassword=password
  systemProp.https.auth.ntlm.domain=domain
  </code></pre>
  
  <p>I have a pac file gain access, but am not able to fill in the proxy port for example. Is there any way to set proxy through the pac file?
  Thanks a lot in advance!</p>