Use Java 17 toolchain for Kotlin

Issue gh-13811
This commit is contained in:
Steve Riesenberg 2023-09-26 14:41:24 -05:00
parent 2a80048340
commit f879cd6c41
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 5 additions and 1 deletions

View File

@ -136,7 +136,11 @@ subprojects {
languageVersion = JavaLanguageVersion.of(toolchainVersion())
}
}
kotlin {
jvmToolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
options.compilerArgs.add("-parameters")