import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions

plugins {
    id("SupportAndroidLibraryPlugin")
}

dependencies {
    api(project(":annotation"))
    api(project(":core"))

    androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
}

android {
    defaultConfig {
        // This disables the builds tools automatic vector -> PNG generation
        generatedDensities = []
    }

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

supportLibrary {
    name = "Android Support VectorDrawable"
    publish = true
    mavenVersion = LibraryVersions.SUPPORT_LIBRARY
    mavenGroup = LibraryGroups.VECTORDRAWABLE
    inceptionYear = "2015"
    description = "Android Support VectorDrawable"
    failOnDeprecationWarnings = false
}