title: Gradle Behind Proxy
body: <p>I am running gradle (version 3.1) behind a proxy server which does not require authentication. I have set the following in gradle.properties</p>
  
  <pre><code>systemProp.http.proxyHost=xxxx
  systemProp.http.proxyPort=xxx
  systemProp.https.proxyHost=xxx
  </code></pre>
  
  <p>But I am getting connection reset error when I run gradle.</p>
  
  <pre><code>* What went wrong:
  A problem occurred configuring root project '01_dev'.
  &gt; Could not resolve all dependencies for configuration ':classpath'.
     &gt; Could not resolve com.xxxxxxxxx.gradle-plugins:1.1.5.
       Required by:
           project :
        &gt; Could not resolve com.xxxxxxxxx.gradle-plugins:1.1.5.
           &gt; Could not get resource 'https://xxx/artifactory/gradle-plugins-1.1.5.pom'.
              &gt; Could not GET 'https://xxx/artifactory/gradle-plugins-1.1.5.pom'.
                 &gt; Connection reset
  </code></pre>
  
  <p>Does anyone know what could be the issue?</p>