Lin Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 1 | /* |
| 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 Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 24 | import androidx.build.LibraryType |
| 25 | |
| 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("org.jetbrains.kotlin.android") |
| 30 | } |
| 31 | |
| 32 | dependencies { |
chelseahao | 8eacf57 | 2023-02-23 18:36:39 +0800 | [diff] [blame] | 33 | api("androidx.core:core:1.9.0") |
| 34 | implementation(libs.kotlinStdlib) |
| 35 | implementation(libs.kotlinCoroutinesAndroid) |
chelseahao | badeb49 | 2023-01-10 16:57:29 +0800 | [diff] [blame] | 36 | implementation(libs.kotlinCoroutinesGuava) |
Lin Guo | 6c401aa | 2024-01-23 03:11:03 +0000 | [diff] [blame] | 37 | implementation("androidx.appcompat:appcompat:1.6.1") |
chelseahao | 8eacf57 | 2023-02-23 18:36:39 +0800 | [diff] [blame] | 38 | implementation("androidx.core:core-ktx:1.9.0") |
| 39 | implementation("androidx.emoji2:emoji2:1.2.0") |
| 40 | implementation("androidx.recyclerview:recyclerview:1.2.1") |
chelseahao | 2f03dd2 | 2022-10-11 18:24:09 +0800 | [diff] [blame] | 41 | |
Aurimas Liutikas | 08f94ae | 2024-09-19 21:40:37 -0700 | [diff] [blame] | 42 | androidTestImplementation(libs.bundles.espressoContrib) |
| 43 | androidTestImplementation(libs.espressoCore) |
chelseahao | 2217abd | 2022-09-13 14:38:48 +0800 | [diff] [blame] | 44 | androidTestImplementation(libs.testCore) |
zzeng | 137a2eb | 2022-10-13 16:29:10 +0800 | [diff] [blame] | 45 | androidTestImplementation(libs.testExtJunit) |
| 46 | androidTestImplementation(libs.testRunner) |
scduan | f99c399 | 2022-10-19 13:04:36 +0800 | [diff] [blame] | 47 | androidTestImplementation(libs.testRules) |
chelseahao | 8eacf57 | 2023-02-23 18:36:39 +0800 | [diff] [blame] | 48 | androidTestImplementation(project(":test:screenshot:screenshot")) |
| 49 | androidTestImplementation(project(":internal-testutils-runtime")) |
Lin Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 50 | } |
| 51 | |
scduan | f99c399 | 2022-10-19 13:04:36 +0800 | [diff] [blame] | 52 | |
Lin Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 53 | android { |
zzeng | 137a2eb | 2022-10-13 16:29:10 +0800 | [diff] [blame] | 54 | defaultConfig { |
Lin Guo | 19c542e | 2024-01-31 18:46:04 +0000 | [diff] [blame] | 55 | vectorDrawables.useSupportLibrary = true |
zzeng | 137a2eb | 2022-10-13 16:29:10 +0800 | [diff] [blame] | 56 | } |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 57 | namespace = "androidx.emoji2.emojipicker" |
zzeng | 137a2eb | 2022-10-13 16:29:10 +0800 | [diff] [blame] | 58 | testOptions.unitTests.includeAndroidResources = true |
Lin Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | androidx { |
Alan Viverette | c9e1fd7 | 2023-05-08 17:36:59 -0400 | [diff] [blame] | 62 | name = "Emoji2 Emoji Picker" |
Lin Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 63 | type = LibraryType.PUBLISHED_LIBRARY |
Lin Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 64 | 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 Liutikas | 5c5419a | 2024-05-29 15:26:58 -0700 | [diff] [blame] | 67 | legacyDisableKotlinStrictApiMode = true |
Aurimas Liutikas | cd1946c | 2024-12-11 17:51:26 -0800 | [diff] [blame] | 68 | addGoldenImageAssets() |
Lin Guo | 80d9c70 | 2022-09-01 16:07:18 -0700 | [diff] [blame] | 69 | } |