kotlin-language-server
kotlin-language-server copied to clipboard
linter ignores jvmtarget gradle config
That's in my build.gradle file:
tasks.withType(JavaCompile).configureEach {
it.options.release = 21
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = 21
}
}
IntelliJ seems to be okay with it. And it compiles.