| /* |
| * Copyright (C) 2022 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| import androidx.build.LibraryType |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| dependencies { |
| api(libs.kotlinStdlib) |
| implementation(libs.kotlinCoroutinesCore) |
| implementation("androidx.core:core-ktx:1.8.0") |
| implementation project(path: ':emoji2:emoji2') |
| implementation project(path: ':core:core') |
| implementation 'androidx.recyclerview:recyclerview:1.2.1' |
| implementation 'androidx.appcompat:appcompat:1.5.1' |
| implementation 'androidx.tracing:tracing-ktx:1.0.0' |
| implementation 'androidx.test.ext:junit-ktx:1.1.3' |
| |
| androidTestImplementation(libs.testCore) |
| androidTestImplementation(libs.testExtJunit) |
| androidTestImplementation(libs.testRunner) |
| androidTestImplementation(libs.testRules) |
| androidTestImplementation project(path: ':test:screenshot:screenshot') |
| androidTestImplementation project(path: ':internal-testutils-runtime') |
| |
| samples(project(":emoji2:emoji2-emojipicker:emoji2-emojipicker-samples")) |
| } |
| |
| |
| android { |
| defaultConfig { |
| minSdkVersion 21 |
| } |
| sourceSets { |
| androidTest.assets.srcDirs += project.rootDir.absolutePath + "/../../golden/emoji2/emoji2-emojipicker" |
| } |
| |
| namespace "androidx.emoji2.emojipicker" |
| testOptions.unitTests.includeAndroidResources = true |
| } |
| |
| androidx { |
| name = "androidx.emoji2:emoji2-emojipicker" |
| type = LibraryType.PUBLISHED_LIBRARY |
| mavenGroup = LibraryGroups.EMOJI2 |
| inceptionYear = "2022" |
| description = "This library provides the latest emoji support and emoji picker UI to input " + |
| "emoji in current and older devices" |
| } |