1/**
2 * This file was created using the `create_project.py` script located in the
3 * `<AndroidX root>/development/project-creator` directory.
4 *
5 * Please use that script when creating a new project, rather than copying an existing project and
6 * modifying its settings.
7 */
8import androidx.build.SoftwareType
9
10plugins {
11    id("AndroidXPlugin")
12    id("com.android.library")
13}
14
15dependencies {
16    api(libs.jspecify)
17    api("androidx.annotation:annotation:1.8.1")
18    api(project(":vectordrawable:vectordrawable"))
19    implementation("androidx.core:core:1.12.0")
20    implementation("androidx.interpolator:interpolator:1.0.0")
21    implementation("androidx.collection:collection:1.4.2")
22
23    androidTestImplementation(libs.testExtJunit)
24    androidTestImplementation(libs.testCore)
25    androidTestImplementation(libs.testRunner)
26    androidTestImplementation(libs.testRules)
27    androidTestImplementation(libs.espressoCore)
28}
29
30android {
31    defaultConfig {
32        // This disables the builds tools automatic vector -> PNG generation
33        generatedDensities = []
34    }
35    aaptOptions {
36        additionalParameters("--no-version-vectors")
37    }
38    buildTypes.configureEach {
39        consumerProguardFiles("proguard-rules.pro")
40    }
41    namespace = "androidx.vectordrawable.animated"
42}
43
44androidx {
45    name = "AnimatedVectorDrawable"
46    type = SoftwareType.PUBLISHED_LIBRARY
47    mavenVersion = LibraryVersions.VECTORDRAWABLE_ANIMATED
48    inceptionYear = "2015"
49    description = "Android Support AnimatedVectorDrawable"
50    failOnDeprecationWarnings = false
51}
52