blob: a5a03eb0fc145196dffce76726a848b8a6d2cc7a [file] [log] [blame]
Lin Guo80d9c702022-09-01 16:07:18 -07001/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Lin Guo80d9c702022-09-01 16:07:18 -070024import androidx.build.LibraryType
25
26plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
29 id("org.jetbrains.kotlin.android")
30}
31
32dependencies {
chelseahao8eacf572023-02-23 18:36:39 +080033 api("androidx.core:core:1.9.0")
34 implementation(libs.kotlinStdlib)
35 implementation(libs.kotlinCoroutinesAndroid)
chelseahaobadeb492023-01-10 16:57:29 +080036 implementation(libs.kotlinCoroutinesGuava)
Lin Guo6c401aa2024-01-23 03:11:03 +000037 implementation("androidx.appcompat:appcompat:1.6.1")
chelseahao8eacf572023-02-23 18:36:39 +080038 implementation("androidx.core:core-ktx:1.9.0")
39 implementation("androidx.emoji2:emoji2:1.2.0")
40 implementation("androidx.recyclerview:recyclerview:1.2.1")
chelseahao2f03dd22022-10-11 18:24:09 +080041
Aurimas Liutikas08f94ae2024-09-19 21:40:37 -070042 androidTestImplementation(libs.bundles.espressoContrib)
43 androidTestImplementation(libs.espressoCore)
chelseahao2217abd2022-09-13 14:38:48 +080044 androidTestImplementation(libs.testCore)
zzeng137a2eb2022-10-13 16:29:10 +080045 androidTestImplementation(libs.testExtJunit)
46 androidTestImplementation(libs.testRunner)
scduanf99c3992022-10-19 13:04:36 +080047 androidTestImplementation(libs.testRules)
chelseahao8eacf572023-02-23 18:36:39 +080048 androidTestImplementation(project(":test:screenshot:screenshot"))
49 androidTestImplementation(project(":internal-testutils-runtime"))
Lin Guo80d9c702022-09-01 16:07:18 -070050}
51
scduanf99c3992022-10-19 13:04:36 +080052
Lin Guo80d9c702022-09-01 16:07:18 -070053android {
zzeng137a2eb2022-10-13 16:29:10 +080054 defaultConfig {
Lin Guo19c542e2024-01-31 18:46:04 +000055 vectorDrawables.useSupportLibrary = true
zzeng137a2eb2022-10-13 16:29:10 +080056 }
Aurimas Liutikas77952822024-12-04 18:00:17 -080057 namespace = "androidx.emoji2.emojipicker"
zzeng137a2eb2022-10-13 16:29:10 +080058 testOptions.unitTests.includeAndroidResources = true
Lin Guo80d9c702022-09-01 16:07:18 -070059}
60
61androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040062 name = "Emoji2 Emoji Picker"
Lin Guo80d9c702022-09-01 16:07:18 -070063 type = LibraryType.PUBLISHED_LIBRARY
Lin Guo80d9c702022-09-01 16:07:18 -070064 inceptionYear = "2022"
65 description = "This library provides the latest emoji support and emoji picker UI to input " +
66 "emoji in current and older devices"
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070067 legacyDisableKotlinStrictApiMode = true
Aurimas Liutikascd1946c2024-12-11 17:51:26 -080068 addGoldenImageAssets()
Lin Guo80d9c702022-09-01 16:07:18 -070069}