title: Classpath specific to module in IntelliJ Gradle project
body: <p>I have an IntelliJ Gradle project which contains an Android module, a GWT module and a pure Java module.</p>
  
  <p>Is there a way to add the classpath for <code>'com.android.tools.build:gradle:1.0.0'</code> such that it is not in a buildscript?</p>
  
  <p>Here is my 'build.gradle' for the Android module:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.0.0'
      }
  }
  
  apply plugin: 'android'
  
  android {
      compileSdkVersion 19
      buildToolsVersion '19.1.0'
  
      // workaround for "duplicate files during packaging of APK" issue
      // see https://groups.google.com/d/msg/adt-dev/bl5Rc4Szpzg/wC8cylTWuIEJ
      packagingOptions {
          exclude 'META-INF/ASL2.0'
          exclude 'META-INF/LICENSE'
          exclude 'META-INF/NOTICE'
      }
  
      defaultConfig {
          minSdkVersion 9
          targetSdkVersion 19
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  
  dependencies {
      compile 'com.android.support:appcompat-v7:19.1+'
  }
  </code></pre>
  
  <p>And here is my top-level 'build.gradle'</p>
  
  <pre><code>allprojects {
      repositories {
          mavenCentral()
      }
  }
  </code></pre>
  
  <p>Thank you!</p>