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(":core"))
11    api(project(":legacy-support-core-ui"))
12    api(project(":legacy-support-core-utils"))
13    api(project(":annotation"))
14    api(project(":loader"))
15    api(ARCH_LIFECYCLE_VIEWMODEL, libs.exclude_annotations_transitive)
16
17    androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
18    androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso)
19    androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
20    androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
21    androidTestImplementation project(':internal-testutils'), {
22        exclude group: 'androidx.fragment', module: 'fragment'
23    }
24}
25
26supportLibrary {
27    name = "Android Support Library fragment"
28    publish = true
29    mavenVersion = LibraryVersions.SUPPORT_LIBRARY
30    mavenGroup = LibraryGroups.FRAGMENT
31    inceptionYear = "2011"
32    description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren\'t a part of the framework APIs. Compatible on devices running API 14 or later."
33    failOnUncheckedWarnings = false
34    failOnDeprecationWarnings = false
35}
36