1 import static androidx.build.dependencies.DependenciesKt.* 2 import androidx.build.LibraryGroups 3 import androidx.build.LibraryVersions 4 5 plugins { 6 id("SupportAndroidLibraryPlugin") 7 } 8 9 dependencies { 10 api(project(":core")) 11 api(project(":legacy-support-core-ui")) 12 api(project(":media")) 13 api(project(":fragment")) 14 api(project(":recyclerview")) 15 16 androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) 17 androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) 18 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker 19 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker 20 } 21 22 android { 23 sourceSets { 24 main.java.srcDirs += [ 25 'common', 26 'kitkat', 27 'api21', 28 ] 29 } 30 } 31 32 supportLibrary { 33 name = "Android Support Leanback v17" 34 publish = true 35 mavenVersion = LibraryVersions.SUPPORT_LIBRARY 36 mavenGroup = LibraryGroups.LEANBACK 37 inceptionYear = "2014" 38 description = "Android Support Leanback v17" 39 minSdkVersion = 17 40 failOnUncheckedWarnings = false 41 failOnDeprecationWarnings = false 42 } 43