1apply plugin: 'android-library' 2 3archivesBaseName = 'recommendation' 4 5dependencies { 6 compile project(':support-v4') 7} 8 9android { 10 compileSdkVersion 'current' 11 12 defaultConfig { 13 minSdkVersion 21 14 } 15 16 sourceSets { 17 main.manifest.srcFile 'AndroidManifest.xml' 18 main.java.srcDirs = ['src'] 19 main.res.srcDirs = ['res'] 20 } 21 22 compileOptions { 23 sourceCompatibility JavaVersion.VERSION_1_7 24 targetCompatibility JavaVersion.VERSION_1_7 25 } 26 27 lintOptions { 28 // TODO: fix errors and reenable. 29 abortOnError false 30 } 31} 32