Skip to content

Releases: JLLeitschuh/ktlint-gradle

v13.1.0 - Gradle 9 Support

21 Aug 13:48
Compare
Choose a tag to compare

[13.1.0] - 2025-08-21

  • Gradle 9 Support #937

NOTE Although there were no breaking API changes in this release, the custom reporter API has a binary-incompatible change, although it is source-compatible. Any library built on top of this may need to recompile against the new version.

v13.0.0

07 Jul 18:25
Compare
Choose a tag to compare

[13.0.0] - 2025-07-07

  • remove support for ktlint < 1 #889
  • increase minimum kotlin version to 1.7 #889
  • update default ktlint version to 1.5 #889

v13.0.0-rc.1

27 May 14:23
Compare
Choose a tag to compare
v13.0.0-rc.1 Pre-release
Pre-release

[13.0.0-rc.1]

  • remove support for ktlint < 1 #889
  • increase minimum kotlin version to 1.7 #889
  • update default ktlint version to 1.5 #889

v12.3.0

22 May 21:25
Compare
Choose a tag to compare

[12.3.0] - 2025-05-22

Changed

  • Updated build to use Gradle version 8.13 #850
  • Updated the following dependencies: #852
    • Build plugin: org.jetbrains.kotlin.jvm to 2.1.20
    • Build plugin: org.jetbrains.kotlin.js to 2.1.20
    • Build plugin: com.android.application to 7.3.1
    • Sample Dependency: androidx.fragment:fragment-ktx to 1.8.6
    • Sample Dependency: com.google.android.material:material to 1.12.0
    • Sample Dependency: androidx.test:runner to 1.6.2
    • Sample Dependency: junit to 4.13.2
  • Marked KtlintInstallGitHookTask as an @UntrackedTask to prevent it from being included in the configuration cache. #862

Fixed

  • Fix addKtlintCheckGitPreCommitHook task marking the entire project root and contents as input (#837)
  • Force the pre-commit script to continue even if there is error to ensure the unstaged files are reapplied. #814
  • Fix the pre-commit hook to cope with unstaged binary files #603

v12.3.0-rc.7

22 May 19:27
Compare
Choose a tag to compare
v12.3.0-rc.7 Pre-release
Pre-release

[12.3.0-rc.7]

Changed

  • Updated build to use Gradle version 8.13 #850
  • Updated the following dependencies: #852
    • Build plugin: org.jetbrains.kotlin.jvm to 2.1.20
    • Build plugin: org.jetbrains.kotlin.js to 2.1.20
    • Build plugin: com.android.application to 7.3.1
    • Sample Dependency: androidx.fragment:fragment-ktx to 1.8.6
    • Sample Dependency: com.google.android.material:material to 1.12.0
    • Sample Dependency: androidx.test:runner to 1.6.2
    • Sample Dependency: junit to 4.13.2
  • Marked KtlintInstallGitHookTask as an @UntrackedTask to prevent it from being included in the configuration cache. #862

Fixed

  • Fix addKtlintCheckGitPreCommitHook task marking the entire project root and contents as input (#837)
  • Force the pre-commit script to continue even if there is error to ensure the unstaged files are reapplied. #814
  • Fix the pre-commit hook to cope with unstaged binary files #603

v12.3.0-rc.6

22 May 19:11
Compare
Choose a tag to compare
v12.3.0-rc.6 Pre-release
Pre-release

[12.3.0-rc.6] - 2025-02-27

Changed

  • Updated build to use Gradle version 8.13 #850
  • Updated the following dependencies: #852
    • Build plugin: org.jetbrains.kotlin.jvm to 2.1.20
    • Build plugin: org.jetbrains.kotlin.js to 2.1.20
    • Build plugin: com.android.application to 7.3.1
    • Sample Dependency: androidx.fragment:fragment-ktx to 1.8.6
    • Sample Dependency: com.google.android.material:material to 1.12.0
    • Sample Dependency: androidx.test:runner to 1.6.2
    • Sample Dependency: junit to 4.13.2
  • Marked KtlintInstallGitHookTask as an @UntrackedTask to prevent it from being included in the configuration cache. #862

Fixed

  • Fix addKtlintCheckGitPreCommitHook task marking the entire project root and contents as input (#837)
  • Force the pre-commit script to continue even if there is error to ensure the unstaged files are reapplied. #814
  • Fix the pre-commit hook to cope with unstaged binary files #603

v12.2.0

27 Feb 20:21
Compare
Choose a tag to compare

[12.2.0] - 2025-02-27

  • Update Gradle wrapper and Gradle versions for testing. #819
  • Test against newest kotlin, gradle, ktlint, and AGP versions #833. Drop testing for gradle 7.4 and 7.5 because they cause our tests with kotlin 2.x to fail, but the plugin will still work in those gradle versions if kotlin 1.x is being used

v12.1.2

25 Nov 20:03
Compare
Choose a tag to compare

[12.1.2] - 2024-11-25

Changed

  • Bump org.gradle.toolchains.foojay-resolver-convention from 0.7.0 to 0.8.0 #779
  • Bump gradle/wrapper-validation-action from 1 to 3 #784
  • Bump github/codeql-action from 2.2.4 to 3.27.0 #777
  • Bump al-cheb/configure-pagefile-action from 1.3 to 1.4 #780
  • Bump commons-io:commons-io from 2.8.0 to 2.17.0 #802
  • Update version for jgit to 5.13.3.202401111512-r #766
  • builds: remove specific lintian version, as latest ubuntu is now a new version
    #767
  • docs: add Version Catalog setup instructions in README
    #770
    #767

Fixed

  • fix tests which relied on a third party reporter in jcenter #772

v12.1.1

07 May 13:39
Compare
Choose a tag to compare

[12.1.1] - 2024-05-07

  • fix #544: make git filter work with any os #738
  • fix #750: additionalEditorconfig property not being
    accounted for up-to-date checks and caching #758
  • Update versions used for testing #763

v12.1.0

09 Jan 14:35
Compare
Choose a tag to compare

[12.1.0] - 2024-01-09

  • fix detection of android kotlin source directories in AGP >= 7 #733