jeremymailen / kotlinter-gradle

Painless, fast ktlint plugin for Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility matrix is out of date

rsmith20 opened this issue · comments

The compatibility matrix specifies 3.11+ as compatible with min gradle version 7.0, but 3.14 is compiled using Kotlin 1.8 and gradle 7.5 expects Kotlin 1.6.

So you are saying the new row needs to be 3.14+ compatible with gradle 7.6+?

I'd suggest not updating the compatibility matrix in readme, but rather revert these two properties back to 1.4.

kotlinOptions {
    apiVersion = "1.4"
    languageVersion = "1.4"
}

This should restore plugin compatibility with lower versions. Gradle enforces Kotlin version in runtime, so these settings effectively are not respected and only cause incompatibilities (more info) 🤷

The runtime with Kotlin 1.8 is available only on Gradle 8: https://docs.gradle.org/current/userguide/compatibility.html#kotlin

I bumped it because IntelliJ indicated that 1.4 was deprecated.
Is there significant user base still using a version of gradle that old?

I think the compatibility matrix is up-to-date, but please reopen if there are still issues.