1apply plugin: 'com.android.application' 2 3dependencies { 4 implementation project(':appcompat-v7') 5 implementation project(':recyclerview-v7') 6 implementation project(':preference-v7') 7 implementation project(':preference-v14') 8 implementation project(':leanback-v17') 9 implementation project(':preference-leanback-v17') 10} 11 12android { 13 compileSdkVersion project.ext.currentSdk 14 15 defaultConfig { 16 minSdkVersion 14 17 targetSdkVersion project.ext.currentSdk 18 } 19 20 sourceSets { 21 main.manifest.srcFile 'AndroidManifest.xml' 22 main.java.srcDirs = ['src'] 23 main.res.srcDirs = ['res'] 24 } 25 26 signingConfigs { 27 debug { 28 // Use a local debug keystore to avoid build server issues. 29 storeFile project.rootProject.init.debugKeystore 30 } 31 } 32 33 lintOptions { 34 abortOnError false 35 check 'NewApi' 36 } 37 38 compileOptions { 39 sourceCompatibility JavaVersion.VERSION_1_8 40 targetCompatibility JavaVersion.VERSION_1_8 41 } 42} 43