Changed
- BREAKING Bump the required Gradle to
7.3
and required Java to17
. (#2375, #2540) - BREAKING Renamed
removeWildcardImports
toforbidWildcardImports
. (#2633) - BREAKING
spotlessInstallGitPrePushHook
task is now installed only on the root project. (#2570) - BREAKING
LintSuppression
now enforces unix-style paths in itssetPath
method. (#2629) - Running
spotlessCheck
with violations unilaterally produces the error messageRun './gradlew spotlessApply' to fix these violations
. (#2592) - Bump JGit from
6.10.1
to7.3.0
(#2257)- Adds support for worktrees (fixes #1765)
- Bump default
google-java-format
version to latest1.24.0
->1.28.0
. (#2345) - Bump default
gson
version to latest2.13.1
->2.13.2
. (#2615) - Bump default
jackson
version to latest2.19.2
->2.20.0
. (#2606) - Bump default
ktfmt
version to latest0.53
->0.58
(#2613)- BREAKING use
TrailingCommaManagementStrategy
enum instead ofmanageTrailingCommas
boolean configuration option
- BREAKING use
- Bump default
ktlint
version to latest1.5.0
->1.7.1
. (#2555) - Bump default
palantir-java-format
version to latest2.57.0
->2.71.0
.
Fixed
- Respect system gitconfig when performing git operations (#2404)
- Fix
spaceBeforeSeparator
in Jackson formatter. (#2103) spotlessInstallGitPrePushHook
is now compatible with configuration cache. (#2570)
Added
- There is now a
forbidRegex(String name, String regex, String lintDetail)
which throws a lint anytime the regex matches. (#2633)