build(deps): 将 Kotlin 更新至 2.1.0 版本.

This commit is contained in:
2024-12-11 00:47:57 +08:00
parent bd7f556c31
commit 3e1bf4991d
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
kotlin("jvm")
id("org.jetbrains.kotlinx.kover")
@ -25,8 +27,8 @@ dependencies {
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "17"
compilerOptions {
jvmTarget = JvmTarget.JVM_17
}
}