fix: 正常に絵文字が出力されない問題を修正2

This commit is contained in:
usbharu 2024-09-08 18:31:59 +09:00
parent 7d1063b0c3
commit 28d3c78172
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
2 changed files with 125 additions and 136 deletions

View File

@ -9,12 +9,4 @@ repositories {
dependencies {
compileOnly(gradleApi())
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("io.ktor:ktor-client-core:2.2.3")
implementation("io.ktor:ktor-client-cio:2.2.3")
}
buildscript {
}
ext["kotlin_version"] = "1.8.10"

View File

@ -17,9 +17,6 @@ class EmojiPlugin : Plugin<Project> {
override fun apply(project: Project) {
project.task("generateEmoji")
.doLast(Action {
runBlocking {
val httpClient = HttpClient.newBuilder()
.version(HttpClient.Version.HTTP_1_1)
.followRedirects(HttpClient.Redirect.NORMAL)
@ -96,7 +93,7 @@ class EmojiPlugin : Plugin<Project> {
}
enumList.putIfAbsent(
description,
(description + "_" + status),
Emoji(
group + groupCount,
"${
@ -187,7 +184,7 @@ ${joinToString}
}"""
asFile.writeText(trimIndent)
}
})
}
}