1/* 2 * Copyright (C) 2017 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 17plugins { 18 id("AndroidXPlugin") 19 id("com.android.application") 20} 21 22ext { 23 fontDir = project(":noto-emoji-compat-font").projectDir 24} 25 26dependencies { 27 api(libs.jspecify) 28 implementation(project(":emoji2:emoji2")) 29 implementation(project(":emoji2:emoji2-bundled")) 30 implementation(project(":emoji2:emoji2-views-helper")) 31 implementation(project(":emoji2:emoji2-views")) 32 implementation(project(":appcompat:appcompat")) 33} 34 35android { 36 compileSdk = 35 37 sourceSets { 38 main.assets.srcDirs = [new File(fontDir, "supported-emojis").getAbsolutePath()] 39 } 40 namespace = "com.example.android.support.text.emoji" 41} 42