title: Gradle Build stuck at generate debug sources
body: <p>Gradle gets stuck when I try to build on the task [:android:generateDebugSources]. </p>
  
  <p>I've left it running for hours without a successful build.</p>
  
  <p>I've tried it in Android Studio 1.0.0, 0.8.1, with Gradle versions 2.1.1, 1.12, 1.14, Android plugin versions 0.12.+ and 0.14.4 using the default wrapper as well as local distributions. I've reinstalled Android Studio and rebooted without any luck. Also tried File --> invalidate caches/Restart.</p>
  
  <p>Here is my android package's build.gradle:</p>
  
  <pre><code>buildscript {
  repositories
          {
      maven { url 'https://maven.fabric.io/repo' }
  }
  
  dependencies {
      classpath 'io.fabric.tools:gradle:1.+'
  }
  }
  
  apply plugin: 'android'
  apply plugin: 'io.fabric'
  
  repositories {
  
  maven { url 'https://maven.fabric.io/repo' }
  }
  
  android {
  compileSdkVersion 21
  buildToolsVersion '21.1.1'
  
  defaultConfig {
      minSdkVersion 11
      targetSdkVersion 21
      versionCode 13
      versionName "onBoarding"
  }
  buildTypes {
      release {
          runProguard false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
      }
  }
  }
  
  dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  compile files('libs/android-query-full.0.26.8.jar')
  compile files('libs/gson-2.3.jar')
  compile 'com.android.support:appcompat-v7:21.+'
  compile 'com.android.support:support-v4:21.+'
  compile 'com.android.support:recyclerview-v7:21.+'
  compile 'com.google.android.gms:play-services:6.1.71'
  }
  </code></pre>
  
  <p>And then my project-level gradle.build file:</p>
  
  <pre><code>buildscript {
  repositories {
      mavenCentral()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:0.12.+'
  }
  }
  
  allprojects {
  repositories {
      mavenCentral()
  }
  }
  </code></pre>
  
  <p>Any advice greatly appreciated.</p>