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