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(project(":vectordrawable:vectordrawable")) 18 api("androidx.core:core-animation:1.0.0") 19 implementation("androidx.collection:collection:1.4.2") 20 21 androidTestImplementation(libs.testExtJunit) 22 androidTestImplementation(libs.testCore) 23 androidTestImplementation(libs.testRunner) 24 androidTestImplementation(libs.testRules) 25 androidTestImplementation(libs.truth) 26 androidTestImplementation(libs.espressoCore) 27 androidTestImplementation(project(":core:core-animation-testing")) 28} 29 30android { 31 compileOptions { 32 sourceCompatibility = JavaVersion.VERSION_1_8 33 targetCompatibility = JavaVersion.VERSION_1_8 34 } 35 defaultConfig { 36 // This disables the builds tools automatic vector -> PNG generation 37 generatedDensities = [] 38 } 39 40 aaptOptions { 41 additionalParameters("--no-version-vectors") 42 } 43 namespace = "androidx.vectordrawable.seekable" 44} 45 46androidx { 47 name = "SeekableAnimatedVectorDrawable" 48 type = SoftwareType.PUBLISHED_LIBRARY 49 mavenVersion = LibraryVersions.VECTORDRAWABLE_SEEKABLE 50 inceptionYear = "2020" 51 description = "Android SeekableAnimatedVectorDrawable" 52} 53