1import static androidx.build.dependencies.DependenciesKt.* 2import androidx.build.LibraryGroups 3import androidx.build.LibraryVersions 4 5plugins { 6 id("SupportAndroidLibraryPlugin") 7} 8 9dependencies { 10 api(project(":media")) 11 api(project(":appcompat")) 12 api(project(":palette")) 13 14 androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) 15 androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) 16 androidTestImplementation(TEST_RULES_TMP, libs.exclude_for_espresso) 17} 18 19android { 20 sourceSets { 21 main.java.srcDirs += [ 22 'jellybean', 23 'jellybean-mr1', 24 'jellybean-mr2', 25 'api24' 26 ] 27 } 28} 29 30supportLibrary { 31 name = "Android MediaRouter Support Library" 32 publish = true 33 mavenVersion = LibraryVersions.SUPPORT_LIBRARY 34 mavenGroup = LibraryGroups.MEDIAROUTER 35 inceptionYear = "2013" 36 description = "Android MediaRouter Support Library" 37 failOnUncheckedWarnings = false 38 failOnDeprecationWarnings = false 39} 40