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