apply plugin: android.support.SupportAndroidLibraryPlugin ext { fontDir = project(':noto-emoji-compat').projectDir } android { defaultConfig { minSdkVersion 14 } sourceSets { main.java.srcDir 'src' main.assets.srcDirs new File(fontDir, "font").getAbsolutePath() } } dependencies { api project(':support-emoji') } supportLibrary { name 'Android Emoji Compat' publish true 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' } }