[go: nahoru, domu]

blob: f9f51cd333ade61f8c68162dd6d36356e9a802fa [file] [log] [blame]
Aurimas Liutikas526389b2018-02-27 14:01:24 -08001import static androidx.build.dependencies.DependenciesKt.*
2import androidx.build.LibraryGroups
3import androidx.build.LibraryVersions
Jan Althausc08637c2018-01-15 14:59:08 +01004
5plugins {
6 id("SupportAndroidLibraryPlugin")
7}
8
9dependencies {
Oussama Ben Abdelbaki237c8942019-02-11 15:57:21 -050010 api(project(":appcompat"))
11 api(project(":annotation"))
Jake Whartonb984f272019-01-23 17:45:28 -050012 implementation("androidx.collection:collection:1.0.0")
Nick Butcheraccb6d12018-10-03 18:06:17 +020013 // TODO: change to 1.1.0-alpha04 after release
14 api(project(":core"))
Jan Althausc08637c2018-01-15 14:59:08 +010015
Alan Viverettebadf2f82018-12-18 12:14:10 -050016 androidTestImplementation(TEST_EXT_JUNIT)
17 androidTestImplementation(TEST_CORE)
Aurimas Liutikas3f9ceb62018-07-10 11:57:16 -070018 androidTestImplementation(TEST_RUNNER)
Abodunrinwa Toki82717252018-08-29 22:43:28 +010019 androidTestImplementation(TEST_RULES)
Jan Althaus7b6308d2018-04-12 13:06:34 +020020 androidTestImplementation(TRUTH)
Abodunrinwa Toki82717252018-08-29 22:43:28 +010021 androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
Tony Mak46f609a2018-05-30 16:44:06 +010022 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
23 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
Jan Althausc08637c2018-01-15 14:59:08 +010024}
25
Jake Whartonc2d75492018-07-13 19:24:58 -040026android {
27 defaultConfig {
Tony Mak5934f7d2018-08-31 15:21:15 +010028 minSdkVersion 14
Jake Whartonc2d75492018-07-13 19:24:58 -040029 }
30}
31
Jan Althausc08637c2018-01-15 14:59:08 +010032supportLibrary {
33 name = "Android TextClassifier Support Library"
Tony Mak12fe4092018-07-26 15:08:53 +010034 publish = true
35 mavenVersion = LibraryVersions.TEXTCLASSIFIER
Aurimas Liutikasac5fe7c2018-03-06 14:40:53 -080036 mavenGroup = LibraryGroups.TEXTCLASSIFIER
Jan Althausc08637c2018-01-15 14:59:08 +010037 inceptionYear = "2018"
38 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."
Aurimas Liutikasbfef0932018-04-04 13:25:38 -070039 failOnUncheckedWarnings = false
Jan Althausc08637c2018-01-15 14:59:08 +010040}