| import androidx.build.Publish |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| } |
| |
| dependencies { |
| api("androidx.annotation:annotation:1.2.0") |
| api(project(":vectordrawable:vectordrawable")) |
| implementation("androidx.core:core:1.6.0") |
| implementation("androidx.interpolator:interpolator:1.0.0") |
| implementation("androidx.collection:collection:1.1.0") |
| |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation(libs.espressoCore, excludes.espresso) |
| } |
| |
| android { |
| defaultConfig { |
| // This disables the builds tools automatic vector -> PNG generation |
| generatedDensities = [] |
| } |
| aaptOptions { |
| additionalParameters("--no-version-vectors") |
| } |
| buildTypes.all { |
| consumerProguardFiles("proguard-rules.pro") |
| } |
| namespace "androidx.vectordrawable.animated" |
| } |
| |
| androidx { |
| name = "Android Support AnimatedVectorDrawable" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| mavenVersion = LibraryVersions.VECTORDRAWABLE_ANIMATED |
| inceptionYear = "2015" |
| description = "Android Support AnimatedVectorDrawable" |
| failOnDeprecationWarnings = false |
| } |