Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
| 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.LibraryVersions |
Jan Althaus | c08637c | 2018-01-15 14:59:08 +0100 | [diff] [blame] | 4 | |
| 5 | plugins { |
| 6 | id("SupportAndroidLibraryPlugin") |
| 7 | } |
| 8 | |
| 9 | dependencies { |
Oussama Ben Abdelbaki | 237c894 | 2019-02-11 15:57:21 -0500 | [diff] [blame] | 10 | api(project(":appcompat")) |
| 11 | api(project(":annotation")) |
Jake Wharton | b984f27 | 2019-01-23 17:45:28 -0500 | [diff] [blame] | 12 | implementation("androidx.collection:collection:1.0.0") |
Nick Butcher | accb6d1 | 2018-10-03 18:06:17 +0200 | [diff] [blame] | 13 | // TODO: change to 1.1.0-alpha04 after release |
| 14 | api(project(":core")) |
Jan Althaus | c08637c | 2018-01-15 14:59:08 +0100 | [diff] [blame] | 15 | |
Alan Viverette | badf2f8 | 2018-12-18 12:14:10 -0500 | [diff] [blame] | 16 | androidTestImplementation(TEST_EXT_JUNIT) |
| 17 | androidTestImplementation(TEST_CORE) |
Aurimas Liutikas | 3f9ceb6 | 2018-07-10 11:57:16 -0700 | [diff] [blame] | 18 | androidTestImplementation(TEST_RUNNER) |
Abodunrinwa Toki | 8271725 | 2018-08-29 22:43:28 +0100 | [diff] [blame] | 19 | androidTestImplementation(TEST_RULES) |
Jan Althaus | 7b6308d | 2018-04-12 13:06:34 +0200 | [diff] [blame] | 20 | androidTestImplementation(TRUTH) |
Abodunrinwa Toki | 8271725 | 2018-08-29 22:43:28 +0100 | [diff] [blame] | 21 | androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
Tony Mak | 46f609a | 2018-05-30 16:44:06 +0100 | [diff] [blame] | 22 | androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) |
| 23 | androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) |
Jan Althaus | c08637c | 2018-01-15 14:59:08 +0100 | [diff] [blame] | 24 | } |
| 25 | |
Jake Wharton | c2d7549 | 2018-07-13 19:24:58 -0400 | [diff] [blame] | 26 | android { |
| 27 | defaultConfig { |
Tony Mak | 5934f7d | 2018-08-31 15:21:15 +0100 | [diff] [blame] | 28 | minSdkVersion 14 |
Jake Wharton | c2d7549 | 2018-07-13 19:24:58 -0400 | [diff] [blame] | 29 | } |
| 30 | } |
| 31 | |
Jan Althaus | c08637c | 2018-01-15 14:59:08 +0100 | [diff] [blame] | 32 | supportLibrary { |
| 33 | name = "Android TextClassifier Support Library" |
Tony Mak | 12fe409 | 2018-07-26 15:08:53 +0100 | [diff] [blame] | 34 | publish = true |
| 35 | mavenVersion = LibraryVersions.TEXTCLASSIFIER |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 36 | mavenGroup = LibraryGroups.TEXTCLASSIFIER |
Jan Althaus | c08637c | 2018-01-15 14:59:08 +0100 | [diff] [blame] | 37 | 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 Liutikas | bfef093 | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 39 | failOnUncheckedWarnings = false |
Jan Althaus | c08637c | 2018-01-15 14:59:08 +0100 | [diff] [blame] | 40 | } |