Home | History | Annotate | Download | only in animated
      1 import static androidx.build.dependencies.DependenciesKt.*
      2 import androidx.build.LibraryGroups
      3 import androidx.build.LibraryVersions
      4 
      5 plugins {
      6     id("SupportAndroidLibraryPlugin")
      7 }
      8 
      9 dependencies {
     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 
     17 android {
     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 
     32 supportLibrary {
     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 }