1 apply plugin: 'com.android.library' 2 3 android { 4 sourceSets.main { 5 manifest.srcFile 'AndroidManifest.xml' 6 java.srcDirs = ['src'] 7 res.srcDirs = ['res'] 8 } 9 } 10 11 dependencies { 12 compile project(':zxing-core') 13 }