1apply plugin: 'com.android.application' 2 3dependencies { 4 implementation project(':leanback-v17') 5 implementation project(':preference-leanback-v17') 6 implementation 'com.google.code.gson:gson:2.6.2' 7} 8 9android { 10 compileSdkVersion project.ext.currentSdk 11 12 defaultConfig { 13 minSdkVersion 17 14 targetSdkVersion project.ext.currentSdk 15 } 16 17 sourceSets { 18 main.manifest.srcFile 'AndroidManifest.xml' 19 main.java.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 false 32 check 'NewApi' 33 } 34 35 compileOptions { 36 sourceCompatibility JavaVersion.VERSION_1_8 37 targetCompatibility JavaVersion.VERSION_1_8 38 } 39} 40 41