title: Why is resolve dependencies 'classpath' so slow?
body: <p>Why do all my gradle tasks become really slow (longer than 5 minutes) when I add apache commons codec and apache commons io dependencies to my project?  To be clear, executing the build task still works, but just takes a very long time. When it is slow, the gradle output is</p>
  
  <pre><code>resolving dependencies: 'classpath'
  </code></pre>
  
  <p>Below is the offending portion of my build.gradle:</p>
  
  <pre><code>buildscript {
    repositories {
      maven { url "http://repo.spring.io/libs-snapshot"  }
      mavenCentral()
      mavenLocal()
    }
    dependencies {
      classpath("org.springframework.boot:spring-boot-gradle-plugin:0.5.0.M6")
      classpath("org.mongodb:mongo-java-driver:2.11.3")
      classpath("org.seleniumhq.selenium:selenium-java:2.37.1")
      classpath("com.google.guava:guava:16.0.1")
      classpath('commons-codec:commons-codec:1.9')
      classpath("commons-io:commons-io:2.4")
    }
  }
  </code></pre>
  
  <p>If I do not include the last two classpath dependencies (codec and io), the buildscript is much faster. I am using gradle 1.10 via gradlew.</p>