Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump spotless from 6.25.0 to 7.0.0 #1417

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 7, 2025

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

Release notes

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

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

  • Use the Gradle user home directory by default for the download directory for the biome executable. Previously, the plugin tried to use Maven's home directory, which is not always accessible by a Gradle plugin. (#2187)
  • Add explicit support for CSS via biome. Formatting CSS via biome was already supported as a general formatting step. Biome supports formatting CSS as of 1.8.0 (experimental, opt-in) and 1.9.0 (stable). (#2259)

Changed

  • Bump default buf version to latest 1.24.0 -> 1.44.0. (#2291)
  • Bump default google-java-format version to latest 1.23.0 -> 1.24.0. (#2294)
  • Bump default jackson version to latest 2.17.2 -> 2.18.0. (#2279)
  • Bump default cleanthat version to latest 2.21 -> 2.22. (#2296)

Fixed

  • Java import order, ignore duplicate group entries. (#2293)
  • Remote build cache shouldn't have cache misses anymore. (TODOfixes #2168)

Gradle Plugin v7.0.0.BETA2

... (truncated)

Commits
  • 23d98d2 Published gradle/7.0.0
  • 1c2435b Published lib/3.0.0
  • 771b628 Update changelogs.
  • 719f9a4 update default versions for Eclipse Java and Groovy formatters (#2381)
  • 83bc8f3 Update changelogs.
  • 1b8dd4e Revert the Greclipse version bump.
  • 9507db3 Merge branch 'main' into update-greclipse
  • bd03fa0 Prepare to publish non-beta. Huzzah!
  • ea71030 fix gradle custom step with closure and configuration cache (#2376 fixes #2...
  • 7a985fb Add an explanatory comment on why we are zeroing out the global .gitconfig.
  • Additional commits viewable in compare view

Updates com.diffplug.spotless from 6.25.0 to 7.0.0

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 `spotless` from 6.25.0 to 7.0.0.

Updates `com.diffplug.spotless:spotless-plugin-gradle` from 6.25.0 to 7.0.0
- [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.0)

Updates `com.diffplug.spotless` from 6.25.0 to 7.0.0

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

Signed-off-by: dependabot[bot] <[email protected]>
@SimonMarquis SimonMarquis added this pull request to the merge queue Jan 7, 2025
Merged via the queue into main with commit 94facb0 Jan 7, 2025
8 checks passed
@SimonMarquis SimonMarquis deleted the dependabot/gradle/spotless-7.0.0 branch January 7, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant