1 apply plugin: android.support.SupportLibraryPlugin 2 archivesBaseName = 'support-emoji-bundled' 3 4 ext { 5 fontDir = project(':noto-emoji-compat').projectDir 6 } 7 8 android { 9 compileSdkVersion project.ext.currentSdk 10 11 defaultConfig { 12 minSdkVersion 14 13 } 14 15 sourceSets { 16 main.java.srcDir 'src' 17 main.assets.srcDirs new File(fontDir, "font").getAbsolutePath() 18 } 19 } 20 21 dependencies { 22 compile project(path: ':support-emoji') 23 } 24 25 supportLibrary { 26 name 'Android Emoji Compat' 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 }