| apply plugin: 'com.android.application' |
| |
| dependencies { |
| implementation 'com.github.bumptech.glide:glide:3.6.1' |
| implementation project(':leanback-v17') |
| implementation project(':preference-leanback-v17') |
| } |
| |
| android { |
| compileSdkVersion project.ext.currentSdk |
| |
| defaultConfig { |
| minSdkVersion 17 |
| targetSdkVersion project.ext.currentSdk |
| } |
| |
| buildTypes { |
| release { |
| minifyEnabled true |
| proguardFile getDefaultProguardFile('proguard-android-optimize.txt') |
| } |
| } |
| |
| sourceSets { |
| main.manifest.srcFile 'AndroidManifest.xml' |
| main.java.srcDirs = ['src'] |
| main.aidl.srcDirs = ['src'] |
| main.res.srcDirs = ['res'] |
| } |
| |
| signingConfigs { |
| debug { |
| // Use a local debug keystore to avoid build server issues. |
| storeFile project.rootProject.init.debugKeystore |
| } |
| } |
| |
| lintOptions { |
| abortOnError true |
| check 'NewApi' |
| } |
| |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_7 |
| targetCompatibility JavaVersion.VERSION_1_7 |
| } |
| } |
| |