| import androidx.build.LibraryGroups |
| import androidx.build.LibraryVersions |
| import androidx.build.Publish |
| |
| import static androidx.build.dependencies.DependenciesKt.* |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| id("com.github.johnrengelman.shadow") |
| } |
| |
| dependencies { |
| api("androidx.core:core:1.3.0-rc01") |
| api(project(":emoji2:emoji2")) |
| implementation(project(":emoji2:emoji2-views-core")) |
| |
| implementation("androidx.collection:collection:1.1.0") |
| |
| androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| androidTestImplementation(ANDROIDX_TEST_CORE) |
| androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| androidTestImplementation(ANDROIDX_TEST_RULES) |
| androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso) |
| androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker |
| androidTestImplementation project(':internal-testutils-runtime') |
| } |
| |
| android { |
| sourceSets { |
| main { |
| // We use a non-standard manifest path. |
| manifest.srcFile 'AndroidManifest.xml' |
| res.srcDirs += 'src/main/res-public' |
| // TODO(seanmcq): rewrite the tests to avoid needing the font / license files |
| // removed to avoid dupe files |
| } |
| } |
| } |
| |
| androidx { |
| name = "Android Emoji2 Compat Views" |
| publish = Publish.NONE |
| mavenVersion = LibraryVersions.EMOJI2 |
| mavenGroup = LibraryGroups.EMOJI2 |
| inceptionYear = "2017" |
| description = "Support for using emoji2 directly with Android Views, for use in apps without " + |
| "appcompat" |
| } |