github diffplug/spotless gradle/8.0.0
Gradle Plugin v8.0.0

latest release: maven/3.0.0
15 hours ago

Changed

  • BREAKING Bump the required Gradle to 7.3 and required Java to 17. (#2375, #2540)
  • BREAKING Renamed removeWildcardImports to forbidWildcardImports. (#2633)
  • BREAKING spotlessInstallGitPrePushHook task is now installed only on the root project. (#2570)
  • BREAKING LintSuppression now enforces unix-style paths in its setPath method. (#2629)
  • Running spotlessCheck with violations unilaterally produces the error message Run './gradlew spotlessApply' to fix these violations. (#2592)
  • Bump JGit from 6.10.1 to 7.3.0 (#2257)
    • Adds support for worktrees (fixes #1765)
  • Bump default google-java-format version to latest 1.24.0 -> 1.28.0. (#2345)
  • Bump default gson version to latest 2.13.1 -> 2.13.2. (#2615)
  • Bump default jackson version to latest 2.19.2 -> 2.20.0. (#2606)
  • Bump default ktfmt version to latest 0.53 -> 0.58 (#2613)
    • BREAKING use TrailingCommaManagementStrategy enum instead of manageTrailingCommas boolean configuration option
  • Bump default ktlint version to latest 1.5.0 -> 1.7.1. (#2555)
  • Bump default palantir-java-format version to latest 2.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)

Don't miss a new spotless release

NewReleases is sending notifications on new releases.