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(":annotation")) 11 api(project(":collection")) 12 api(ARCH_LIFECYCLE_RUNTIME, libs.exclude_annotations_transitive) 13 14 androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) 15 androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) 16 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker 17 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker 18 androidTestImplementation project(':internal-testutils'), { 19 exclude group: 'androidx.core', module: 'core' 20 } 21} 22 23android { 24 sourceSets { 25 main.res.srcDirs 'res', 'res-public' 26 } 27 28 aaptOptions { 29 noCompress 'ttf' 30 } 31} 32 33supportLibrary { 34 name = "Android Support Library compat" 35 publish = true 36 mavenVersion = LibraryVersions.SUPPORT_LIBRARY 37 mavenGroup = LibraryGroups.CORE 38 inceptionYear = "2015" 39 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." 40 failOnUncheckedWarnings = false 41 failOnDeprecationWarnings = false 42} 43