apply plugin: android.support.SupportLibraryPlugin archivesBaseName = 'leanback-v17' dependencies { compile project(':support-compat') compile project(':support-core-ui') compile project(':support-media-compat') compile project(':support-fragment') compile project(':support-recyclerview-v7') androidTestCompile (libs.test_runner) { exclude module: 'support-annotations' } androidTestCompile (libs.espresso_core) { exclude module: 'support-annotations' } androidTestCompile libs.mockito_core androidTestCompile libs.dexmaker androidTestCompile libs.dexmaker_mockito } android { defaultConfig { minSdkVersion 17 } sourceSets { main.java.srcDirs = [ 'common', 'jbmr2', 'kitkat', 'api21', 'api23', 'src' ] main.res.srcDir 'res' } lintOptions { // Remove this once all NewApi breakages have been fixed. disable "NewApi" } } supportLibrary { name 'Android Support Leanback v17' inceptionYear '2014' description 'Android Support Leanback v17' }