blob: 75b4bb0cb798455b9fd68f2bea6b8d21e745675e [file] [log] [blame]
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.Publish
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
ext {
fontDir = project(':noto-emoji-compat').projectDir
}
android {
sourceSets {
main.assets.srcDirs new File(fontDir, "font").getAbsolutePath()
}
}
dependencies {
api(project(":emoji"))
}
androidx {
name = "Android Emoji Compat"
publish = Publish.SNAPSHOT_AND_RELEASE
mavenVersion = LibraryVersions.EMOJI
mavenGroup = LibraryGroups.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"
}
}