build: update JVM toolchain and CI Java distribution (#4936)

This commit is contained in:
James Rich 2026-03-26 12:25:05 -05:00 committed by GitHub
parent d979269552
commit e106badec7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -33,7 +33,10 @@ plugins {
}
kotlin {
jvmToolchain(17)
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(17))
vendor.set(JvmVendorSpec.JETBRAINS)
}
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
freeCompilerArgs.add("-Xjvm-default=all")