This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 4fad7df [SPARK-53988] Upgrade `Spotless` to 8.0.0
4fad7df is described below
commit 4fad7dff0e75af01582a914f9eeb231abbf9cf8b
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Oct 22 12:59:44 2025 -0700
[SPARK-53988] Upgrade `Spotless` to 8.0.0
### 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
- https://github.com/diffplug/spotless/pull/2540
- https://github.com/diffplug/spotless/pull/2345
- https://github.com/diffplug/spotless/issues/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]>
---
build.gradle | 1 -
gradle/libs.versions.toml | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index 592f544..e7f931b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -109,7 +109,6 @@ subprojects {
spotless {
java {
endWithNewline()
- googleJavaFormat('1.28.0')
importOrder(
'java',
'javax',
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 2bf3e78..506574e 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -33,7 +33,7 @@ checkstyle = "10.23.1"
pmd = "7.17.0"
spotbugs-tool = "4.9.6"
spotbugs-plugin = "6.4.2"
-spotless-plugin = "6.25.0"
+spotless-plugin = "8.0.0"
# Packaging
cyclonedx = "2.4.1"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]