kotlin-language-server icon indicating copy to clipboard operation
kotlin-language-server copied to clipboard

linter ignores jvmtarget gradle config

Open rapus95 opened this issue 7 months ago • 1 comments

Image

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.

rapus95 avatar May 04 '25 16:05 rapus95