title: Could not resolve all dependencies for configuration ':classpath'
body: <p>I cant seem to get build tools for the latest gradle at all. I suspect its something to do with proxy setting for gradle. I have had a good look online but still cant seem to find a solution. I use gradle 2.1.</p>
  <p>I created gradle.properties file in my /home/user/.gradle folder with these setting.</p>
  <blockquote>
  <p>systemProp.http.proxyHost=proxy
  systemProp.http.proxyPort=80
  systemProp.http.proxyUser=myusername
  systemProp.http.proxyPassword=password</p>
  <p>systemProp.https.proxyHost=proxy
  systemProp.https.proxyPort=80
  systemProp.https.proxyUser=myusername
  systemProp.https.proxyPassword=password</p>
  </blockquote>
  <p>Here is my global <strong>build.gradle</strong></p>
  <pre><code>buildscript {
      repositories {
          mavenLocal()
          mavenCentral()
      }
  
      dependencies {
          classpath 'com.android.tools.build:gradle:0.13.0'
          classpath fileTree(dir: 'build-libs', include: '*.jar')
      }
  }
  
  
  allprojects {
      repositories {
          mavenCentral()
      }
  }
  </code></pre>
  <p>And here is the error i get when running <code>gradlew</code></p>
  <pre><code>Could not HEAD 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/0.13.0/gradle-0.13.0.pom'.
  peer not authenticated
  </code></pre>
  <p>What am I missing? that maven link opens fine in a browser.</p>