| import static androidx.build.dependencies.DependenciesKt.* |
| import androidx.build.LibraryGroups |
| import androidx.build.LibraryVersions |
| |
| plugins { |
| id("SupportAndroidLibraryPlugin") |
| } |
| |
| dependencies { |
| api(project(":core")) |
| api(project(":legacy-support-core-ui")) |
| api(project(":media")) |
| api(project(":fragment")) |
| api(project(":recyclerview")) |
| |
| androidTestImplementation(TEST_RUNNER) |
| androidTestImplementation(TEST_RULES) |
| androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
| androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| } |
| |
| android { |
| defaultConfig { |
| minSdkVersion 17 |
| } |
| |
| sourceSets { |
| main.java.srcDirs += [ |
| 'common', |
| 'kitkat', |
| 'api21', |
| ] |
| } |
| } |
| |
| supportLibrary { |
| name = "Android Support Leanback v17" |
| publish = true |
| mavenVersion = LibraryVersions.LEANBACK |
| mavenGroup = LibraryGroups.LEANBACK |
| inceptionYear = "2014" |
| description = "Android Support Leanback v17" |
| failOnUncheckedWarnings = false |
| failOnDeprecationWarnings = false |
| useMetalava = false |
| } |