You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugins {
id("org.jmailen.kotlinter") version "3.6.0"
}
I received the error NoSuchMethodError when attempting to run ./gradlew --lintKotlin. Turns out you need to be running gradle 6.8+ which comes with Kotlin 1.4 (Kotlin 1.3 is deprecated for the latest version of ktlint). So I upgraded gradle with ./gradlew wrapper --gradle-version 7.0. This resolved my kotlinter issues.
Also, you’ll want to update your IntelliJ settings such that wildcard imports are no longer used.
https://github.com/jeremymailen/kotlinter-gradle
The text was updated successfully, but these errors were encountered: