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

plugins {
    id("SupportAndroidLibraryPlugin")
}

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

    androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
    androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso)
}

supportLibrary {
    name = "Android TextClassifier Support Library"
    publish = false
    mavenVersion = LibraryVersions.SUPPORT_LIBRARY
    mavenGroup = LibraryGroups.TEXTCLASSIFIER
    inceptionYear = "2018"
    description = "The TextClassifier Support Library can be added to an Android application in order to use the TextClassifier API introduced in Android O on all devices with API level 14 or later."
    minSdkVersion = 14
    failOnUncheckedWarnings = false
}