title: Unable to resolve class of library in splitted Gradle Build Script
body: <p>I´m trying to split my Gradle Build file into several parts to make it maintainable</p>
  
  <p>In my build.gradle, I have used the <strong>Apache Commons</strong> library in one task, which I put now in a separate Gradle file</p>
  
  <p>Gradle Project File:</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.2.3'
          classpath 'commons-codec:commons-codec:1.10'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>
  
  <p>Gradle Module File:</p>
  
  <pre><code>apply plugin: 'com.android.library'
  apply from: 'gradle/splittedFile.gradle'
  </code></pre>
  
  <p>My splittedFile.gradle</p>
  
  <pre><code>import org.apache.commons.codec.binary.Base64
  </code></pre>
  
  <blockquote>
    <p>When I execute the build, it says "Unable to resolve class
    org.apache.commons.codec.binary.Base64</p>
  </blockquote>
  
  <p><strong>How can I make the library accessible within the splitted Gradle file?</strong></p>