title: Gradle can't find classpath for android plugin
body: <p>i am getting this error saying it cant find the classpath related to a android plugin. using gradle 1.2 .</p>
  
  <p>here is the error:</p>
  
  <pre><code>Could not find method classpath() for arguments [org.gradle.api.plugins:gradle-android-plugin:1.2.1]
  </code></pre>
  
  <p>here is my <code>build.gradle</code> file</p>
  
  <pre><code>//setup external dependency plugins we will use to build a android application
  buildscript {
      repositories {
          mavenCentral()
          maven {
              url "https://oss.sonatype.org/content/repositories/snapshots"
          }
      }
  
      dependencies {
          classpath 'org.gradle.api.plugins:gradle-android-plugin:1.2.1'
      }
  }
  
  //apply eclipse plugin
  apply plugin: 'eclipse'
  
  //apply android plugin
  apply plugin: 'android'
  
  apply plugin: 'maven'
  
  task hello &lt;&lt; {
      String value = 'wagwan'
      println 'Hello world!' + value.toUpperCase()
  }
  </code></pre>
  
  <p>Thanks</p>
  
  <p>edit: new error i recieve now:</p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * What went wrong:
  Could not resolve all dependencies for configuration ':classpath'.
  &gt; Could not resolve group:org.gradle.api.plugins, module:gradle-android-plugin, version:1.2.1.
    Required by:
        :RssUnified:unspecified
     &gt; Could not GET 'http://repo1.maven.org/maven2/org/gradle/api/plugins/gradle-android-plugin/1.2.1/gradle-android-plugin-1.2.1.pom'.
     &gt; Could not GET 'https://oss.sonatype.org/content/repositories/snapshots/org/gradle/api/plugins/gradle-android-plugin/1.2.1/gradle-android-plugin-1.2.1.pom'.
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  </code></pre>