Commit 7066b37
committed
Fix detekt failing on JVM 21
detekt 1.22.0 only accepts jvmTarget up to 18, so it fails when Gradle
runs on Java 21. Explicitly setting jvmTarget = "11" on the Detekt tasks
matches the project's configured Kotlin target and unblocks the check.
detekt 1.23.x would fix this properly but requires Kotlin 1.9+, which
is a separate upgrade.1 parent 6b8823d commit 7066b37
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
0 commit comments