| import androidx.build.Publish |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("com.android.library") |
| } |
| |
| ext { |
| fontDir = project(":noto-emoji-compat-font").projectDir |
| } |
| |
| android { |
| sourceSets { |
| main.assets.srcDirs new File(fontDir, "font").getAbsolutePath() |
| } |
| namespace "androidx.emoji.bundled" |
| } |
| |
| dependencies { |
| api(project(":emoji:emoji")) |
| } |
| |
| androidx { |
| name = "Android Emoji Compat" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| mavenVersion = LibraryVersions.EMOJI |
| inceptionYear = "2017" |
| description = "Library bundled with assets to enable emoji compatibility in Kitkat and newer devices to avoid the empty emoji characters." |
| |
| license { |
| name = "SIL Open Font License, Version 1.1" |
| url = "http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web" |
| } |
| |
| license { |
| name = "Unicode, Inc. License" |
| url = "http://www.unicode.org/copyright.html#License" |
| } |
| } |