GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bump the min Gradle and Java requirements to 7.3 and 17 by Goooler · Pull Request #2540 · diffplug/spotless

Conversation

@Goooler

@Goooler Goooler commented Jul 2, 2025

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nedtwigg

nedtwigg commented Jul 2, 2025

Copy link
Copy Markdown
Member
  • Good call! I'm fine with removing support for Java 11 Remove support for Java 11 #2375
Goooler reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler

Goooler commented Jul 2, 2025

Copy link
Copy Markdown
Member Author

Will finish this later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler
Goooler force-pushed the g/20250702/gradle-9 branch 4 times, most recently from cfe3e40 to 7def050 Compare July 3, 2025 13:42
@Goooler Goooler changed the title Bump Gradle to 9.0.0-rc-1 Bump the min Gradle requirement to 7.1 and test on Gradle 9.0.0-rc-1 Jul 3, 2025
@Goooler
Goooler force-pushed the g/20250702/gradle-9 branch 2 times, most recently from d94d9c2 to 70d0787 Compare July 3, 2025 14:18
@Goooler
Goooler requested a review from Copilot July 3, 2025 14:30

This comment was marked as outdated.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler
Goooler marked this pull request as ready for review July 3, 2025 14:33
@Goooler

Goooler commented Jul 3, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

This is a significant change; the next Gradle plugin release should be 7.1 or another minor version.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler Goooler changed the title Bump the min Gradle requirement to 7.1 and test on Gradle 9.0.0-rc-1 Bump the min Gradle requirement to 7.1 and test on 9.0.0-rc-1 Jul 4, 2025
@nedtwigg

nedtwigg commented Jul 7, 2025

Copy link
Copy Markdown
Member

Amazing! Bumping to Gradle 7.1 indeed brings some great benefits. We get even more if we bump from Java 11 to 17, and if we do that bump then we will require Gradle 7.3 because it is the first version of Gradle which supports Java 17

  • https://docs.gradle.org/7.3/release-notes.html#new-features-and-usability-improvements

Whatever path we choose, this PR is a great starting point. But my first instinct is that we should keep our current compat (Java 11 and Gradle 6.1.1) and then go straight to Java 17 and Gradle 7.3. Does that make sense, or is there a reason to retain support for Gradle 7.1 that I am missing?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler
Goooler force-pushed the g/20250702/gradle-9 branch from 254896e to 3b66bf0 Compare July 8, 2025 01:23
@Goooler

Goooler commented Jul 8, 2025

Copy link
Copy Markdown
Member Author

I'm fine with dropping Java 11 support.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Goooler
Goooler force-pushed the g/20250702/gradle-9 branch from d3e013e to 62973f7 Compare July 8, 2025 01:53
@Goooler Goooler changed the title Bump the min Gradle requirement to 7.1 and test on 9.0.0-rc-1 Bump the min Gradle and Java requirements to 7.3 and 17 Jul 8, 2025
Goooler
Goooler commented Jul 8, 2025
View reviewed changes
Comment thread testlib/src/test/java/com/diffplug/spotless/java/GoogleJavaFormatStepTest.java
Comment on lines 44 to 45
@Test
@EnabledForJreRange(max = JAVA_15) // google-java-format requires JRE 11+
void behavior18() throws Exception {

@Goooler Goooler Jul 8, 2025

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

com.diffplug.spotless.Lint$ShortcutException: You are running Spotless on JVM 23. This requires google-java-format of at least 1.17.0 (you are using 1.8).

This is strange.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Goooler
Goooler force-pushed the g/20250702/gradle-9 branch 3 times, most recently from a410746 to 4af88e5 Compare July 11, 2025 07:35
Goooler added 2 commits July 14, 2025 14:30
@Goooler
Bump the min Gradle requirement to 7.1 and test on 9.0.0-rc-1
8ae59f2
@Goooler
Bump the min Gradle and Java requirements to 7.3 and 17
4c80f8e
@Goooler
Goooler force-pushed the g/20250702/gradle-9 branch from 4af88e5 to 4c80f8e Compare July 14, 2025 06:31
@nedtwigg nedtwigg mentioned this pull request Jul 16, 2025
fix(plugin-gradle): Try to locate the git system config without executing any processes #2514
Merged
Ned Twigg and others added 2 commits July 20, 2025 12:33
Ned Twigg
Merge branch 'main' into g/20250702/gradle-9
da0ff27
ntwigg
Register the bump from 11 to 17 as **BREAKING** in the changelogs.
5949783
@nedtwigg
nedtwigg merged commit b64ab47 into main Jul 20, 2025
@nedtwigg
nedtwigg deleted the g/20250702/gradle-9 branch July 20, 2025 20:00
@Goooler Goooler mentioned this pull request Jul 21, 2025
Replace the copy-pastes of TargetJvmEnvironment #2561
Merged
@nedtwigg

nedtwigg commented Sep 24, 2025

Copy link
Copy Markdown
Member

Published in plugin-gradle 8.0.0 and plugin-maven 3.0.0.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dongjoon-hyun dongjoon-hyun mentioned this pull request Oct 22, 2025
[SPARK-53988] Upgrade Spotless to 8.0.0 apache/spark-kubernetes-operator#399
Closed
dongjoon-hyun added a commit to apache/spark-kubernetes-operator that referenced this pull request Oct 22, 2025
@dongjoon-hyun
[SPARK-53988] Upgrade Spotless to 8.0.0
4fad7df
### What changes were proposed in this pull request?

This PR aims to upgrade `Spotless` to 8.0.0 and remove `google-java-format` setting because it's equal to the default now.

### Why are the changes needed?

To bring the latest improvements and bug fixes:
- https://github.com/diffplug/spotless/releases/tag/gradle%2F8.0.0
  - diffplug/spotless#2540
  - diffplug/spotless#2345
  - diffplug/spotless#2404

### Does this PR introduce _any_ user-facing change?

No. This is a test change.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #399 from dongjoon-hyun/SPARK-53988.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
This was referenced Nov 22, 2025
Remove Java 17 lower dependency versions in lib #2764
Merged
Update dependency org.junit.jupiter:junit-jupiter to v6 #2655
Merged
@jxmai jxmai mentioned this pull request May 15, 2026
Bump com.diffplug.spotless:spotless-maven-plugin from 2.46.1 to 3.5.0 primefaces-extensions/primefaces-extensions#2505
Closed
@coderabbitai coderabbitai Bot mentioned this pull request May 19, 2026
deps(gradle): bump the gradle-minor-patch group across 1 directory with 5 updates kl3inIT/zero-mail#42
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@Goooler @nedtwigg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.