Releases: usefulness/ktlint-gradle-plugin
Releases · usefulness/ktlint-gradle-plugin
v0.10.0
v0.9.0
What's Changed
- Bump ktlint to v1.2.1
- Improve configuration-cache compatibility. Modifying
.editorconfig
will not validate configuration cache anymore in #187 - Bundle
LICENSE
file in the published.jar
in #188 - Introduce new
validateEditorConfigForKtlint
task which validates if the project is configured in a deterministic way. By default it prints warnings logs, but its behavior can be configured viaktlint { editorConfigValidation = ... }
extension (to either do nothing or fail the build) in #187
Full Changelog: v0.8.2...v0.9.0
v0.8.2
What's Changed
- Print file path when
ktlint
fails to parse the file in #177 - Migrate away deprecated
loadBaseline
method in #169
Full Changelog: v0.8.1...v0.8.2
v0.8.1
v0.8.0
v0.7.0
What's Changed
- [Breaking] Ignore Kotlin sources placed under
buildDir
directory by default. Kotlin 1.9.20 & latest KSP version does not allow to distinguish generated sources from non-generated ones. As a workaround the plugin will ignore all compilation sources placed (generated 🤞) underbuildDir
directory. It's possible to restore default behavior viaignoreFilesUnderBuildDir = false
property. Visit related KGP issue: https://youtrack.jetbrains.com/issue/KT-45161 and its linked issues for more details - #126
- Bump minimum supported Gradle version to
8.0
- #125
Full Changelog: v0.6.1...v0.7.0
v0.6.1
v0.6.0
What's Changed
- Add primitive workaround to ignore KSP generated sources (workaround for google/ksp#1261). If one prefers keeping the previous behavior, setting a
ignoreKspGeneratedSources = false
should do the trick - #113
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Bump
ktlint
to 1.0.0 🎉 in #110 - Downgrade console logs priority, printed when running against Java files in #111
Full Changelog: v0.4.1...v0.5.0
v0.4.1
What's Changed
- Additional plugin configurations are now registered immediately when plugin is applied - #93
Full Changelog: v0.4.0...v0.4.1