Skip to content

Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.7.0#750

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.diffplug.spotless-spotless-plugin-gradle-8.7.0
Open

Bump com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.7.0#750
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.diffplug.spotless-spotless-plugin-gradle-8.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown

Bumps com.diffplug.spotless:spotless-plugin-gradle from 5.6.1 to 8.7.0.

Release notes

Sourced from com.diffplug.spotless:spotless-plugin-gradle's releases.

Gradle Plugin v8.7.0

Added

  • Add support for AsciiDoc formatting via adocfmt. (#2960)
  • flexmark() step now supports arbitrary formatter options via the formatterOptions map. (#2968)

Fixed

  • toggleOffOn no longer disables lint-only steps such as forbidWildcardImports. (#2962)
  • Prevent build caches from interfering when executing under the -PspotlessIdeHook mode. (#2365)
  • Parse standard git year output in LicenseHeaderStep. (#2940)
  • Fix StringIndexOutOfBoundsException in scenarios where copyright year is surrounded by whitespace. (#2973)

Changes

  • Bump default greclipse version to latest 4.35 -> 4.39. (#2924)

Gradle Plugin v8.6.0

Added

  • Add cacheDirectory(...) to eclipse(), eclipseCdt(), and greclipse(); the default P2 cache is $GRADLE_USER_HOME/caches/p2-data. (#2944)

Fixed

  • forbidWildcardImports and forbidModuleImports now detect imports that have leading whitespace (indentation/tabs). (#2939)
  • versionCatalog() no longer splits long inline tables across multiple lines — Gradle's TOML 1.0 parser cannot read multi-line inline tables. The maxLineLength option has been removed. (#2948)
  • EclipseJdtFormtterStep now can conditionally set compiler source/compliance options. Allows for better parsing of AST Node for newer language features and more correct sorting; e.g. records or seal classes. (#2942)

Changes

  • Improved formatting performance by eliminating redundant per-step line-ending normalization in the core formatter loop. (#2934)

Gradle Plugin v8.5.1

Fixed

  • licenseHeader with setLicenseHeaderYearsFromGitHistory() no longer runs git log through a shell, eliminating a shell-injection vector when formatting files whose names contain shell metacharacters.

Gradle Plugin v8.5.0

Added

  • scalafmt() now reads the version from the version field in the scalafmt config file when no version is explicitly set in the plugin config, falling back to the built-in default only if neither is available. (#2922)
  • Add toml format type with versionCatalog() step for formatting and sorting Gradle version catalog files. (#2916)
  • Add withIndentStyle and withIndentSize configuration to tableTestFormatter for setting the fallback indent when no .editorconfig is found. (#2893)
  • Add javaparserVersion(...) to cleanthat, allowing users to override the JavaParser version pulled in transitively by Cleanthat. (#2903)

Fixed

  • Fix tableTestFormatter editorconfig cache not honoring .editorconfig changes across Gradle daemon runs due to a shared static EditorConfigProvider. (#2893)
  • Preserve case of JDBI named bind params that collide with SQL keywords (e.g. :limit, :offset) in the DBeaver SQL formatter. (#2899)
  • Fix non-idempotent formatting when importOrder() is combined with greclipse(): a single catch-all group no longer strips blank lines that greclipse() independently inserted between import groups. (#2914)
  • Fix predeclareDepsFromBuildscript() on Gradle 9 by avoiding mutation of the root buildscript configuration container. (#2929, fixes #2599)

Changes

  • Fix expandWildcardImports failing on JDK XML types such as org.xml.sax.InputSource. (#2921)
  • Use Eclipse JDT's collator-based comparison when sorting Java members to better match Eclipse save actions. (#2920)
  • Bump default cleanthat version 2.24 -> 2.25. (#2903)
  • Bump default eclipse-jdt version from 4.35 to 4.39. (#2912)
  • Make spotlessPredeclare visible to Gradle Kotlin DSL type-safe accessors. (#2925)
  • Allow spotlessPredeclare to be used directly without enabling it first in spotless extension. (#2925)

Gradle Plugin v8.4.0

Added

  • Add tableTest format type for standalone .table files. (#2880)

Fixed

... (truncated)

Commits
  • 91113e0 Published gradle/8.7.0
  • 611b48e Published lib/4.7.0
  • 5f3a85f ci(deploy): use base64 -w0 so the auth header has no embedded newline
  • f84f025 ci(deploy): force HTTP/1.1 on git fetch origin main
  • 780f0f6 fix(spotless/gradle-plugin): Fix StringIndexOutOfBoundsException in scenari...
  • b0328c8 Update plugin rewrite to v7.34.0 (#2972)
  • 9a502ce Update plugin com.gradle.develocity to v4.4.2 (#2971)
  • b4d9ec0 Revert the changes to assertUnchanged() and use assertTransform() when ne...
  • 787819d Remove unneeded debug comments
  • dbd462d Add missing . in all CHANGES.md
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 5.6.1 to 8.7.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](diffplug/spotless@gradle/5.6.1...gradle/8.7.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-version: 8.7.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 22, 2026
@github-actions github-actions Bot added build and removed java Pull requests that update Java code labels Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants