better format in build.gradle (kotlin) (#22439)

This commit is contained in:
William Cheng
2025-11-26 17:41:17 +08:00
committed by GitHub
parent b9d4b56d1c
commit 3d6e9d5693
50 changed files with 110 additions and 50 deletions

View File

@@ -53,11 +53,13 @@ test {
useJUnitPlatform()
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
@@ -68,7 +70,7 @@ dependencies {
}
java {
withSourcesJar()
withSourcesJar()
}
publishing {