1 apply plugin: android.support.SupportLibraryPlugin 2 archivesBaseName = 'leanback-v17' 3 4 dependencies { 5 compile project(':support-compat') 6 compile project(':support-core-ui') 7 compile project(':support-media-compat') 8 compile project(':support-fragment') 9 compile project(':support-recyclerview-v7') 10 11 androidTestCompile (libs.test_runner) { 12 exclude module: 'support-annotations' 13 } 14 androidTestCompile (libs.espresso_core) { 15 exclude module: 'support-annotations' 16 } 17 androidTestCompile libs.mockito_core 18 androidTestCompile libs.dexmaker 19 androidTestCompile libs.dexmaker_mockito 20 } 21 22 android { 23 defaultConfig { 24 minSdkVersion 17 25 } 26 27 sourceSets { 28 main.java.srcDirs = [ 29 'common', 30 'jbmr2', 31 'kitkat', 32 'api21', 33 'api23', 34 'src' 35 ] 36 main.res.srcDir 'res' 37 } 38 39 lintOptions { 40 // Remove this once all NewApi breakages have been fixed. 41 disable "NewApi" 42 } 43 } 44 45 supportLibrary { 46 name 'Android Support Leanback v17' 47 inceptionYear '2014' 48 description 'Android Support Leanback v17' 49 } 50