blob: 5a66a0856e4c1b45dd5a7b776327ddf1c00f7e76 [file] [log] [blame]
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(project(":emoji2:emoji2"))
implementation(project(":emoji2:emoji2-views-helper"))
api("androidx.core:core:1.3.0")
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 {
res.srcDirs += 'src/main/res-public'
}
}
}
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"
}