1apply plugin: 'com.android.application' 2 3dependencies { 4 compile project(':support-leanback-v17') 5} 6 7android { 8 compileSdkVersion project.ext.currentSdk 9 10 defaultConfig { 11 minSdkVersion 17 12 } 13 14 sourceSets { 15 main.manifest.srcFile 'AndroidManifest.xml' 16 main.java.srcDirs = ['src'] 17 main.aidl.srcDirs = ['src'] 18 main.res.srcDirs = ['res'] 19 } 20 21 lintOptions { 22 // TODO: fix errors and reenable. 23 abortOnError false 24 } 25 26 compileOptions { 27 sourceCompatibility JavaVersion.VERSION_1_7 28 targetCompatibility JavaVersion.VERSION_1_7 29 } 30} 31 32