Skip to content

Bump com.diffplug.spotless from 6.25.0 to 7.0.2 #1106

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps com.diffplug.spotless from 6.25.0 to 7.0.2.

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 15, 2025
@dependabot dependabot bot force-pushed the dependabot/gradle/dev/com.diffplug.spotless-7.0.2 branch 2 times, most recently from 49a9a37 to b6515d3 Compare January 16, 2025 10:38
@dependabot dependabot bot force-pushed the dependabot/gradle/dev/com.diffplug.spotless-7.0.2 branch 5 times, most recently from c2839b6 to 20d6075 Compare January 31, 2025 10:51
@dependabot dependabot bot force-pushed the dependabot/gradle/dev/com.diffplug.spotless-7.0.2 branch from 20d6075 to 35fc600 Compare February 13, 2025 18:07
@sebastian-peter
Copy link
Member

@dependabot rebase

Bumps com.diffplug.spotless from 6.25.0 to 7.0.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/dev/com.diffplug.spotless-7.0.2 branch from 35fc600 to 0197958 Compare March 24, 2025 14:51
@sebastian-peter
Copy link
Member

Ok, this was super annoying to debug. Notes in case we need this later:

  1. Make the plugin source code available by adding implementation("com.diffplug.spotless:spotless-plugin-gradle:7.0.2") to the resources (mavencentral told me what line to add)
  2. Set breakpoints into the exception (here InvocationTargetException) to check where it was thrown (SpotlessApply.java)
  3. Set breakpoint in SpotlessApply.java, here we can see that linting results are saved somewhere in build/spotless-lints/spotlessScala
  4. Open the result files while execution is still paused by debugger (otherwise files are deleted)
  5. Here the problem was that the scalafmt version is required to be a specific one, here 3.8.1, otherwise the linter will just throw

Signed-off-by: Sebastian Peter <sebastian.peter@tu-dortmund.de>
Signed-off-by: Sebastian Peter <sebastian.peter@tu-dortmund.de>
Signed-off-by: Sebastian Peter <sebastian.peter@tu-dortmund.de>
@sebastian-peter sebastian-peter merged commit f75c5af into dev Mar 24, 2025
2 of 3 checks passed
@sebastian-peter sebastian-peter deleted the dependabot/gradle/dev/com.diffplug.spotless-7.0.2 branch March 24, 2025 16:11
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