fwcd / fwcd/kotlin-language-server
linter ignores jvmtarget gradle config
- Dominant language
- Kotlin
- Stars
- 2k
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description

That's in my build.gradle file:
```build.gradle
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the build.gradle snippet and reproduce the linter behavior using the JavaCompile release and KotlinCompile jvmTarget settings shown there. Trace how the language server reads these Gradle configurations and verify that the linter recognizes the configured JVM target while preserving the existing IntelliJ-compatible compilation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100