Skip to content

Releases: mfederczuk/ktlint-gradle-plugin

Version 0.1.0-indev09

01 Mar 10:11
v0.1.0-indev09
db51bba
Compare
Choose a tag to compare
Version 0.1.0-indev09 Pre-release
Pre-release

The ktlint version 1.2.0 is rejected because it contains a bug that breaks the behavior of the Git pre-commit hook script

Version 0.1.0-indev08

28 Oct 13:25
v0.1.0-indev08
60bd2a6
Compare
Choose a tag to compare
Version 0.1.0-indev08 Pre-release
Pre-release

Added a new experimental task class KtlintFormattingTask that formats Kotlin source files.
Other than that there have been internal code improvements.

Version 0.1.0-indev07

24 Oct 20:16
v0.1.0-indev07
c148216
Compare
Choose a tag to compare
Version 0.1.0-indev07 Pre-release
Pre-release

Added

  • The task installKtlintGitPreCommitHook is now cacheable
  • The option --color is added to the ktlint invocation (can be disabled with NO_COLOR)

Changed

  • The minimum supported version of ktlint is now 0.50.0
  • The configuration property experimentalRulesEnabled was renamed to just experimental (to mirror the name of the actual ktlint flag --experimental)

Removed

Version 0.1.0-indev06

11 Sep 09:40
v0.1.0-indev06
d356869
Compare
Choose a tag to compare
Version 0.1.0-indev06 Pre-release
Pre-release

Support for ktlint 1.0.0+

Release v0.1.0-indev05

14 Jun 11:37
v0.1.0-indev05
cc1744f
Compare
Choose a tag to compare
Pre-release
  • New experimentalRulesEnabled configuration property for adding the --experimental flag to the ktlint invocation

    ktlint {
        version = ...
    
        experimentalRulesEnabled = true
        // or
        enableExperimentalRules()
    }
  • The plugin is now Java 11 compatible

Release v0.1.0-indev04

04 May 09:26
v0.1.0-indev04
0fba936
Compare
Choose a tag to compare
Pre-release
  • The hook script will now also print the configured ktlint version
  • New limit configuration property for adding the --limit=<limit> flag to the ktlint invocation
  • New codeStyle configuration property for adding the --code-stye=<codeStyle> flag to the ktlint invocation
  • The android configuration property is deprecated to mirror the deprecation of ktlint's --android flag

Release v0.1.0-indev03

19 Apr 08:13
v0.1.0-indev03
c7306a0
Compare
Choose a tag to compare
Pre-release

New android config to add the --android flag to the ktlint invocation

Release v0.1.0-indev02

19 Apr 06:16
v0.1.0-indev02
31a2731
Compare
Choose a tag to compare
Pre-release

Fixed the installKtlintGitPreCommitHook task.

Release v0.1.0-indev01

14 Apr 16:29
v0.1.0-indev01
01b03be
Compare
Choose a tag to compare
Pre-release

Initial release