5.0.0
Major release
- Kotlinter now runs in Gradle worker process isolation yielding much more stable compatibility with different Kotlin versions
- You may now override the
ktlintVersion
in configuration - Easier inclusion of custom rules
Compatibility breaking changes
- The
kotlinter
configuration propertyfailBuildWhenCannotAutoFormat
changed toignoreFormatFailures
with default valuetrue
. - The
kotlinter
configuration propertyignoreFailures
changed toignoreLintFailures
- You no longer add custom ktlint rule sets by adding to the
buildscript
classpath. Instead a more convenientktlint
dependency configuration is provided. See Custom Rules.
New features
- New
kotlinter
configuration propertyktlintVersion
allows overriding the default version of ktlint used.
Fixes
- Support for Kotlin 2.1+
Upgrades
- Ktlint 1.5.0