普通文本  |  39行  |  938 B

apply plugin: android.support.SupportLibraryPlugin
archivesBaseName = 'support-emoji-bundled'

ext {
    fontDir = project(':noto-emoji-compat').projectDir
}

android {
    compileSdkVersion project.ext.currentSdk

    defaultConfig {
        minSdkVersion 14
    }

    sourceSets {
        main.java.srcDir 'src'
        main.assets.srcDirs new File(fontDir, "font").getAbsolutePath()
    }
}

dependencies {
    compile project(path: ':support-emoji')
}

supportLibrary {
    name 'Android Emoji Compat'
    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'
    }
}