buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.0.0' } } apply plugin: 'com.android.library' dependencies { compile 'com.android.support:support-v4:21.0.3' compile project(':GmsApi') } android { compileSdkVersion 21 buildToolsVersion "21.1.2" lintOptions.abortOnError false sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] aidl.srcDirs = ['src'] } } }