| /** |
| * This file was created using the `create_project.py` script located in the |
| * `<AndroidX root>/development/project-creator` directory. |
| * |
| * Please use that script when creating a new project, rather than copying an existing project and |
| * modifying its settings. |
| */ |
| import androidx.build.LibraryType |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| } |
| |
| dependencies { |
| api(libs.jspecify) |
| api("androidx.annotation:annotation:1.8.1") |
| api(project(":vectordrawable:vectordrawable")) |
| implementation("androidx.core:core:1.12.0") |
| implementation("androidx.interpolator:interpolator:1.0.0") |
| implementation("androidx.collection:collection:1.4.2") |
| |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation(libs.espressoCore) |
| } |
| |
| android { |
| defaultConfig { |
| // This disables the builds tools automatic vector -> PNG generation |
| generatedDensities = [] |
| } |
| aaptOptions { |
| additionalParameters("--no-version-vectors") |
| } |
| buildTypes.configureEach { |
| consumerProguardFiles("proguard-rules.pro") |
| } |
| namespace = "androidx.vectordrawable.animated" |
| } |
| |
| androidx { |
| name = "AnimatedVectorDrawable" |
| type = LibraryType.PUBLISHED_LIBRARY |
| mavenVersion = LibraryVersions.VECTORDRAWABLE_ANIMATED |
| inceptionYear = "2015" |
| description = "Android Support AnimatedVectorDrawable" |
| failOnDeprecationWarnings = false |
| } |