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(":vectordrawable")) 11 api(project(":legacy-support-core-ui")) 12 13 androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso) 14 androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso) 15} 16 17android { 18 defaultConfig { 19 // This disables the builds tools automatic vector -> PNG generation 20 generatedDensities = [] 21 } 22 23 aaptOptions { 24 additionalParameters("--no-version-vectors") 25 } 26 27 buildTypes.all { 28 consumerProguardFiles("proguard-rules.pro") 29 } 30} 31 32supportLibrary { 33 name = "Android Support AnimatedVectorDrawable" 34 publish = true 35 mavenVersion = LibraryVersions.SUPPORT_LIBRARY 36 mavenGroup = LibraryGroups.VECTORDRAWABLE 37 inceptionYear = "2015" 38 description = "Android Support AnimatedVectorDrawable" 39}