aboutsummaryrefslogtreecommitdiff
path: root/graphics/drawable/animated/build.gradle
blob: 40e2ccd1b0286de4418c47d8c46c0e1971640f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.Publish

plugins {
    id("AndroidXPlugin")
    id("com.android.library")
}

dependencies {
    api(project(":vectordrawable"))
    implementation("androidx.interpolator:interpolator:1.0.0")
    implementation("androidx.collection:collection:1.1.0")

    androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
    androidTestImplementation(ANDROIDX_TEST_CORE)
    androidTestImplementation(ANDROIDX_TEST_RUNNER)
    androidTestImplementation(ANDROIDX_TEST_RULES)
    androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
}

android {
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_7
        targetCompatibility = JavaVersion.VERSION_1_7
    }
    defaultConfig {
        // This disables the builds tools automatic vector -> PNG generation
        generatedDensities = []
    }

    aaptOptions {
        additionalParameters("--no-version-vectors")
    }

    buildTypes.all {
        consumerProguardFiles("proguard-rules.pro")
    }
}

androidx {
    name = "Android Support AnimatedVectorDrawable"
    publish = Publish.SNAPSHOT_AND_RELEASE
    mavenVersion = LibraryVersions.VECTORDRAWABLE_ANIMATED
    mavenGroup = LibraryGroups.VECTORDRAWABLE
    inceptionYear = "2015"
    description = "Android Support AnimatedVectorDrawable"
}