Releases: mfederczuk/ktlint-gradle-plugin
Releases · mfederczuk/ktlint-gradle-plugin
Version 0.1.0-indev09
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
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
Added
- The task
installKtlintGitPreCommitHook
is now cacheable - The option
--color
is added to the ktlint invocation (can be disabled withNO_COLOR
)
Changed
- The minimum supported version of ktlint is now
0.50.0
- The configuration property
experimentalRulesEnabled
was renamed to justexperimental
(to mirror the name of the actual ktlint flag--experimental
)
Removed
- The
android
configuration property (which was deprecated in version 0.1.0-indev04) has been removed
Version 0.1.0-indev06
Support for ktlint 1.0.0
+
Release v0.1.0-indev05
-
New
experimentalRulesEnabled
configuration property for adding the--experimental
flag to the ktlint invocationktlint { version = ... experimentalRulesEnabled = true // or enableExperimentalRules() }
-
The plugin is now Java 11 compatible
Release v0.1.0-indev04
- 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
New android
config to add the --android
flag to the ktlint invocation
Release v0.1.0-indev02
Fixed the installKtlintGitPreCommitHook
task.
Release v0.1.0-indev01
Initial release