abouttreesummaryrefslogcommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorQuinn Cypher2024-05-08 07:02:19 -0400
committerGitHub2024-05-08 13:02:19 +0200
commita91332a9030197f1f43a21d8ba6b4fd0aa279d85 (patch)
treeec2dab094acd967481179ebe0103ab311b268c30 /build.gradle
parent53e04d57843b94cb89ad1d01bddbe19a98f7562d (diff)
downloadunexpected-keyboard-a91332a9030197f1f43a21d8ba6b4fd0aa279d85.tar.gz
unexpected-keyboard-a91332a9030197f1f43a21d8ba6b4fd0aa279d85.zip
Pull the emoji list from unicode.org (#612)
- Removing unused information (names and descriptions) from the Emoji class - Creating a Gradle task that generates a more efficient res/raw/emojis.txt file from the most recent Unicode standard - Saving recently used emoji preferences as emoji values rather than names - Migrating old user preferences to the new system
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 9bda832..cd23183 100644
--- a/build.gradle
+++ b/build.gradle
@@ -103,6 +103,14 @@ tasks.register('buildKeyboardFont') {
}
}
+tasks.register('genEmojis') {
+ println "\nGenerating res/raw/emojis.txt"
+ exec {
+ workingDir = projectDir
+ commandLine "python", "gen_emoji.py"
+ }
+}
+
tasks.withType(Test).configureEach {
dependsOn 'genLayoutsList'
dependsOn 'checkKeyboardLayouts'