1 apply plugin: 'com.android.application' 2 3 dependencies { 4 implementation 'com.github.bumptech.glide:glide:3.6.1' 5 implementation project(':leanback-v17') 6 implementation project(':preference-leanback-v17') 7 } 8 9 android { 10 compileSdkVersion project.ext.currentSdk 11 12 defaultConfig { 13 minSdkVersion 17 14 targetSdkVersion project.ext.currentSdk 15 } 16 17 buildTypes { 18 release { 19 minifyEnabled true 20 proguardFile getDefaultProguardFile('proguard-android-optimize.txt') 21 } 22 } 23 24 sourceSets { 25 main.manifest.srcFile 'AndroidManifest.xml' 26 main.java.srcDirs = ['src'] 27 main.aidl.srcDirs = ['src'] 28 main.res.srcDirs = ['res'] 29 } 30 31 signingConfigs { 32 debug { 33 // Use a local debug keystore to avoid build server issues. 34 storeFile project.rootProject.init.debugKeystore 35 } 36 } 37 38 lintOptions { 39 abortOnError true 40 check 'NewApi' 41 } 42 43 compileOptions { 44 sourceCompatibility JavaVersion.VERSION_1_7 45 targetCompatibility JavaVersion.VERSION_1_7 46 } 47 } 48 49