apply plugin: 'com.android.library' android { compileSdkVersion 23 buildToolsVersion '23.0.2' sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] res.srcDirs = ['res'] } } }