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 12 api(project(":core")) 13 api(project(":collection")) 14 api(project(":cursoradapter")) 15 api(project(":legacy-support-core-utils")) 16 api(project(":fragment")) 17 api(project(":vectordrawable")) 18 api(project(":vectordrawable-animated")) 19 20 androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) 21 androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) 22 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker 23 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker 24 androidTestImplementation project(':internal-testutils'), { 25 exclude group: 'androidx.appcompat', module: 'appcompat' 26 } 27} 28 29android { 30 defaultConfig { 31 // This disables the builds tools automatic vector -> PNG generation 32 generatedDensities = [] 33 } 34 35 sourceSets { 36 main.res.srcDirs 'res', 'res-public' 37 } 38 39 aaptOptions { 40 additionalParameters "--no-version-vectors" 41 noCompress 'ttf' 42 } 43 44 buildTypes.all { 45 consumerProguardFiles("proguard-rules.pro") 46 } 47} 48 49supportLibrary { 50 name = "Android AppCompat Library v7" 51 publish = true 52 mavenVersion = LibraryVersions.SUPPORT_LIBRARY 53 mavenGroup = LibraryGroups.APPCOMPAT 54 inceptionYear = "2011" 55 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." 56 failOnUncheckedWarnings = false 57 failOnDeprecationWarnings = false 58} 59