Skip to content

Releases: usefulness/ktlint-gradle-plugin

v0.9.0

04 Mar 15:27
c784ef3
Compare
Choose a tag to compare

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 via ktlint { editorConfigValidation = ... } extension (to either do nothing or fail the build) in #187

Full Changelog: v0.8.2...v0.9.0

v0.8.2

22 Feb 21:07
ab2d2a3
Compare
Choose a tag to compare

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

08 Jan 22:38
814670a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

24 Dec 14:53
059e337
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.8.0

v0.7.0

03 Nov 18:12
4474414
Compare
Choose a tag to compare

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 🤞) under buildDir directory. It's possible to restore default behavior via ignoreFilesUnderBuildDir = 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

21 Oct 14:18
a1e2bda
Compare
Choose a tag to compare

What's Changed

  • Bump ktlint to 1.0.1 in #119

Full Changelog: v0.6.0...v0.6.1

v0.6.0

18 Sep 08:05
00a6935
Compare
Choose a tag to compare

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

05 Sep 22:50
db60424
Compare
Choose a tag to compare

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

09 Jul 10:25
42d7691
Compare
Choose a tag to compare

What's Changed

  • Additional plugin configurations are now registered immediately when plugin is applied - #93

Full Changelog: v0.4.0...v0.4.1

v0.4.0

29 Jun 21:27
c35f239
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.4.0