Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2025

Bumps com.diffplug.spotless:spotless-plugin-gradle from 6.25.0 to 7.0.3.

Release notes

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

Gradle Plugin v7.0.3

Changed

  • Use palantir-java-format 2.57.0 on Java 21. (#2447)
  • Re-try npm install with --prefer-online after ERESOLVE error. (#2448)
  • Apply Gradle's strict plugin types validation to the Spotless plugin. (#2454)

Gradle Plugin v7.0.2

Fixed

  • Node.JS-based tasks now work with the configuration cache (#2372)
  • Eclipse-based tasks can now handle parallel configuration (#2389)

Gradle Plugin v7.0.1

Fixed

  • Deployment was missing part of the CDT formatter, now fixed. (#2384)

Gradle Plugin v7.0.0

Headline changes

  • The long 7.0.0.BETAX period is finally over, Spotless for Gradle 7.0 is here!
  • Full, no asterisk support for configuration cache (end of #987)
  • Spotless now supports linting in addition to formatting.

Changed

  • Allow setting Eclipse config from a string, not only from files (#2337)
  • Bump default ktlint version to latest 1.3.0 -> 1.4.0. (#2314)
  • Bump default jackson version to latest 2.18.0 -> 2.18.1. (#2319)
  • Bump default ktfmt version to latest 0.52 -> 0.53. (#2320)
  • Bump default ktlint version to latest 1.4.0 -> 1.5.0. (#2354)
  • Bump minimum eclipse-cdt version to 11.0 (removed support for 10.7). (#2373)
  • Bump default eclipse version to latest 4.32 -> 4.34. (#2381)

Fixed

  • toggleOffOn now works with the configuration cache. (#2378 fixes #2317)
  • Using custom with a Groovy closure now works with and without configuration cache. (#2376)
    • Minimum required Gradle version for this to work has bumped from 8.0 to 8.4.
    • The global git system config is now ignored for line-ending purposes.
    • Added SerializeToByteArrayHack as a flag for a limitation at the intersection of toggleOffOn and custom.
  • You can now use removeUnusedImports and googleJavaFormat at the same time again. (fixes #2159)
  • The default list of type annotations used by formatAnnotations now includes Jakarta Validation's Valid and constraints validations (fixes #2334)
  • indentWith[Spaces|Tabs] has been deprecated in favor of leadingTabsToSpaces and leadingSpacesToTabs. (#2350 fixes #794)

Gradle Plugin v7.0.0.BETA4

Added

  • Support for line ending policy PRESERVE which just takes the first line ending of every given file as setting (no matter if \n, \r\n or \r) (#2304)
  • New suppressLintsFor DSL (docs) (#2307)
    • ignoreErrorForStep and ignoreErrorForPath are now deprecated aliases of suppressLintsFor
    • Spotless is still a formatter not a linter, it just models formatting failures as lints rather than stopping execution (resolves #287)

Fixed

  • ktlint steps now read from the string instead of the file so they don't clobber earlier steps. (fixes #1599)

Gradle Plugin v7.0.0.BETA3

Added

Changed

... (truncated)

Commits
  • 1b1a4fb Published gradle/7.0.3
  • 0fa3cab Published lib/3.1.1
  • 0fe8f9b Update README.md for android kotlin callouts (#2438)
  • d25f04d Minor tweak.
  • fa3fd1e Add the cool blockquote warning trick to the other Android spot.
  • 60993fd Fix the Android Kotlin warning and adjust its position.
  • 0426db1 Apply Gradle's strict plugin types validation to the Spotless plugin in prepa...
  • 48b4cde fix(deps): update dependency org.mockito:mockito-core to v5.17.0 (#2461)
  • 81f2f8b fix(deps): update dependency org.mockito:mockito-core to v5.17.0
  • fc0ec00 Update CHANGES.md for enabling Gradle's stricter plugin types validation
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 6.25.0 to 7.0.3.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](diffplug/spotless@gradle/6.25.0...gradle/7.0.3)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-version: 7.0.3
  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 Apr 14, 2025
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant