title: Local Class Import Issues - Gradle
body: <p>I cannot get Gradle to import classes to its <code>buildscript</code>.</p>
  
  <p>Given the following code:</p>
  
  <pre><code>import org.vertx.java.platform.impl.cli.Starter
  
  apply plugin: 'idea'
  apply plugin: 'java'
  
  //For build
  buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath files(dir: './libs', include: '*.jar')  //the files are indeed in the local library folder
      }
  }
  </code></pre>
  
  <p>I receive the following error:</p>
  
  <pre><code>startup failed:
    build file '/Users/XXX/Projects/Vertx_Server/build.gradle': 1: unable to resolve class org.vertx.java.platform.impl.cli.Starter
     @ line 1, column 1.
       import org.vertx.java.platform.impl.cli.Starter
  </code></pre>
  
  <p>I've used gradle 1.10 and gradle 1.12 with no success (no matter how many combinations of the 'buildscript` or using the 'buildSrc' directory.</p>