• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import androidx.build.LibraryGroups
2import androidx.build.LibraryVersions
3
4plugins {
5    id("SupportAndroidLibraryPlugin")
6}
7
8ext {
9    fontDir = project(':noto-emoji-compat').projectDir
10}
11
12android {
13    sourceSets {
14        main.assets.srcDirs new File(fontDir, "font").getAbsolutePath()
15    }
16}
17
18dependencies {
19    api(project(":emoji"))
20}
21
22supportLibrary {
23    name = "Android Emoji Compat"
24    publish = true
25    mavenVersion = LibraryVersions.SUPPORT_LIBRARY
26    mavenGroup = LibraryGroups.EMOJI
27    inceptionYear = "2017"
28    description = "Library bundled with assets to enable emoji compatibility in Kitkat and newer devices to avoid the empty emoji characters."
29
30    license {
31        name = "SIL Open Font License, Version 1.1"
32        url = "http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web"
33    }
34
35    license {
36        name = "Unicode, Inc. License"
37        url = "http://www.unicode.org/copyright.html#License"
38    }
39}