From 72901d5964aff18f041a5cde6f4fbba9f4fedb23 Mon Sep 17 00:00:00 2001 From: BBIT-Kai <2911862937@qq.com> Date: Wed, 13 Aug 2025 09:18:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E9=A1=B9=E7=9B=AEgradle?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ktor/build.gradle.kts | 2 +- ktor/gradle/wrapper/gradle-wrapper.properties | 3 ++- .../src/main/kotlin/ink/snowflake/server/plugins/Templating.kt | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ktor/build.gradle.kts b/ktor/build.gradle.kts index 3d6b682..c04b2ca 100644 --- a/ktor/build.gradle.kts +++ b/ktor/build.gradle.kts @@ -66,7 +66,7 @@ dependencies { // web implementation("io.ktor:ktor-server-thymeleaf-jvm") implementation("io.ktor:ktor-server-html-builder-jvm") - implementation("org.jetbrains:kotlin-css-jvm:1.0.0-pre.129-kotlin-1.4.20") +// implementation("org.jetbrains:kotlin-css-jvm:1.0.0-pre.129-kotlin-1.4.20") implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version") // 测试 testImplementation("io.ktor:ktor-server-test-host-jvm") diff --git a/ktor/gradle/wrapper/gradle-wrapper.properties b/ktor/gradle/wrapper/gradle-wrapper.properties index 39c8893..71f6a2c 100644 --- a/ktor/gradle/wrapper/gradle-wrapper.properties +++ b/ktor/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ +#Tue Aug 12 09:40:48 CST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.4-bin.zip +distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.9-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/ktor/src/main/kotlin/ink/snowflake/server/plugins/Templating.kt b/ktor/src/main/kotlin/ink/snowflake/server/plugins/Templating.kt index d42c20e..b54f0f5 100644 --- a/ktor/src/main/kotlin/ink/snowflake/server/plugins/Templating.kt +++ b/ktor/src/main/kotlin/ink/snowflake/server/plugins/Templating.kt @@ -7,7 +7,6 @@ import io.ktor.server.response.* import io.ktor.server.routing.* import io.ktor.server.thymeleaf.Thymeleaf import io.ktor.server.thymeleaf.ThymeleafContent -import kotlinx.css.* import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver fun Application.configureTemplating() {