Releases: JLLeitschuh/ktlint-gradle
Releases · JLLeitschuh/ktlint-gradle
v11.4.0
v11.3.2
v11.3.1
[11.3.1] - 2023-03-03
Fixed
- Fixed release github actions #650
Changed
- warn when additionalEditorconfigFile is used in 0.47+ #637
- work around reflection error on Gradle 8/JDK 16+ #634
- add ktlint version 0.48.2 to testing #632
- update latest gradle version for testing to 7.6 #632
- improve release process to update VERSION_LATEST_RELEASE automatically #631
- test against all supported jvm versions #642
v11.2.0
[11.2.0] - 2023-02-14
Changed
- change compile target to 0.45.2
- change default ktlint version applied by plugin to 0.47.1 #624
Fixed
11.1.0
11.0.0
10.3.0
[10.3.0] - 2022-05-03
Added
relative
option to generate reports with paths relative to the root project (#573)
Fixed
- Fix install hook action when git
hooks
folder doesn't exist issue: #557, #563 - Fix pre-commit hook command not found error issue: #562, #564
- Fix some resolution issues when a project using the plugin in some specific setups is depended upon by another project issue: #523, #571
10.2.1
[10.2.1] - 2021.12.27
Fixed
- Deleted file causes file not found exception (issue: #539, #548)
- Use Gradle command exit code as hook exit code to ensure un-staged changes are always re-applied to the working directory #551
v10.2.0
Added
- sarif reporter to provided reporters (#516)
Changed
- Update Gradle to
7.1.1
version - Update Shadow plugin to
7.0.0
version - Update Kotlin to
1.5.21
version - Set default KtLint version to
0.42.1
- Rethink format task approach (issue: #306)
Fixed
- Pre-commit hook causing conflicts (issue: #443) (#502)
ktlintFormat
create empty directories insrc/
dir (issue: #423)- Add Git hook task breaks configuration cache (issue: #505)
- Plugin failed to apply on eager tasks creation (issue: #495)
v10.1.0
[10.1.0] - 2021.06.02
Added
-
Baseline support (#414)
Limitations:
- Format tasks ignore baseline
- One baseline file per-Gradle project (module)
Changed
- Updated Gradle to
6.8.3
version - Updated default KtLint version to
0.41.0
Fixed
- Plugin fails to apply on non-Kotlin projects (#443)
- Pre-commit hook adds entire file to commit when only part of the file was indexed (#470)
- Pre-commit hook doesn't format files that have been renamed (#471)
- Reset KtLint internal caches on any
.editorconfig
files changes (#456) - On KtLint parse error print path to file (#476)
- Add workaround for format tasks showing deprecation messages in Gradle 7.0 (#480)