blob: 5db1684fe493b498ecb4d48d6730f849d65b70e4 [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, excludes.espresso)
androidTestImplementation(MOCKITO_CORE, excludes.bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, excludes.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"
}