aboutsummaryrefslogtreecommitdiff
path: root/textclassifier/build.gradle
blob: e2b4414f6dc2e32e04af48a5af714e7541577e08 (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
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(":appcompat"))
    api("androidx.annotation:annotation:1.1.0-rc01")
    implementation("androidx.collection:collection:1.0.0")
    // TODO: change to 1.1.0-alpha04 after release
    api(project(":core"))

    androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
    androidTestImplementation(ANDROIDX_TEST_CORE)
    androidTestImplementation(ANDROIDX_TEST_RUNNER)
    androidTestImplementation(ANDROIDX_TEST_RULES)
    androidTestImplementation(TRUTH)
    androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
    androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
    androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
}

android {
    defaultConfig {
        minSdkVersion 14
    }
}

androidx {
    name = "Android TextClassifier Support Library"
    publish = Publish.SNAPSHOT_AND_RELEASE
    mavenVersion = LibraryVersions.TEXTCLASSIFIER
    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."
    failOnUncheckedWarnings = false
}