| 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") |
| implementation("androidx.collection:collection:1.0.0") |
| // TODO: change to 1.1.0-alpha04 after release |
| api("androidx.core:core:1.1.0-rc01") |
| |
| 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." |
| failOnDeprecationWarnings = false |
| } |