Skip to content

Commit 368f4be

Browse files
authored
Merge branch 'main' into git-hook-parallel-fix
2 parents 58c2683 + a8b5587 commit 368f4be

File tree

35 files changed

+265
-130
lines changed

35 files changed

+265
-130
lines changed

.github/workflows/changelog-print.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
name: changelogPrint
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-java@v4
12+
- uses: actions/checkout@v5
13+
- uses: actions/setup-java@v5
1414
with:
1515
java-version: 21
1616
distribution: 'temurin'

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
buildcachepass: ${{ secrets.BUILDCACHE_PASS }}
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
26-
- uses: actions/setup-java@v4
26+
- uses: actions/setup-java@v5
2727
with:
2828
distribution: "temurin"
2929
java-version: 21
@@ -57,8 +57,8 @@ jobs:
5757
runs-on: ${{ matrix.os }}
5858
steps:
5959
- name: Checkout
60-
uses: actions/checkout@v4
61-
- uses: actions/setup-java@v4
60+
uses: actions/checkout@v5
61+
- uses: actions/setup-java@v5
6262
with:
6363
distribution: "temurin"
6464
java-version: ${{ matrix.jre }}
@@ -75,7 +75,7 @@ jobs:
7575
run: ./gradlew testNpm
7676
- name: Setup go
7777
if: matrix.kind == 'shfmt'
78-
uses: actions/setup-go@v5
78+
uses: actions/setup-go@v6
7979
with:
8080
go-version: 'stable'
8181
- name: Install shfmt

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
with:
4242
# We must fetch at least the immediate parents so that if this is
4343
# a pull request then we can checkout the head.

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
ORG_GRADLE_PROJECT_gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
3838
ORG_GRADLE_PROJECT_gpg_key64: ${{ secrets.GPG_KEY64 }}
3939
steps:
40-
- uses: actions/checkout@v4
41-
- uses: actions/setup-java@v4
40+
- uses: actions/checkout@v5
41+
- uses: actions/setup-java@v5
4242
with:
4343
java-version: 21
4444
distribution: 'temurin'

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1717
* Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345))
1818
* Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](https://github.com/diffplug/spotless/pull/2555))
1919
* `GitPrePushHookInstaller` uses a lock to run gracefully if it is called many times in parallel. ([#2570](https://github.com/diffplug/spotless/pull/2570))
20+
* Bump default `jackson` version to latest `2.19.2` -> `2.20.0`. ([#2606](https://github.com/diffplug/spotless/pull/2606))
21+
* Bump default `gson` version to latest `2.13.1` -> `2.13.2`. ([#2615](https://github.com/diffplug/spotless/pull/2615))
22+
* **BREAKING** Bump default `ktfmt` version to latest `0.53` -> `0.58` ([#2613](https://github.com/diffplug/spotless/pull/2613))
23+
* use `TrailingCommaManagementStrategy` enum instead of `manageTrailingCommas` boolean configuration option
2024

2125
## [3.3.1] - 2025-07-21
2226
### Fixed

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ artifactIdMaven=spotless-maven-plugin
2121
artifactIdGradle=spotless-plugin-gradle
2222

2323
# Build requirements
24-
VER_JAVA=11
24+
VER_JAVA=17
2525
VER_JSR_305=3.0.2
2626

2727
# Dependencies provided by Spotless plugin
@@ -31,6 +31,6 @@ VER_SLF4J=[1.6,2.0[
3131
VER_DURIAN=1.2.0
3232
VER_JGIT=7.3.0.202506031305-r
3333
VER_JUNIT=5.13.4
34-
VER_ASSERTJ=3.27.3
35-
VER_MOCKITO=5.18.0
36-
VER_SELFIE=2.5.3
34+
VER_ASSERTJ=3.27.6
35+
VER_MOCKITO=5.20.0
36+
VER_SELFIE=2.5.4

gradle/java-publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ javadoc {
7777
//
7878
// Thus, no javadoc warnings.
7979
options.addStringOption('Xdoclint:none', '-quiet')
80-
options.addStringOption('source', '11')
80+
options.addStringOption('source', '17')
8181
// setup the header
8282
options.header javadocInfo
8383
// setup links

gradle/special-tests.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ def special = [
1414
boolean isCiServer = System.getenv().containsKey("CI")
1515
tasks.withType(Test).configureEach {
1616
if (isCiServer) {
17-
retry {
18-
maxRetries = 2
19-
maxFailures = 10
17+
develocity {
18+
testRetry {
19+
maxRetries = 2
20+
maxFailures = 10
21+
}
2022
}
2123
}
2224
// selfie https://selfie.dev/jvm/get-started#gradle

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-rc-3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH="\\\"\\\""
118117

119118

120119
# Determine the Java command to use to start the JVM.
@@ -172,7 +171,6 @@ fi
172171
# For Cygwin or MSYS, switch paths to Windows format before running java
173172
if "$cygwin" || "$msys" ; then
174173
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
175-
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
176174

177175
JAVACMD=$( cygpath --unix "$JAVACMD" )
178176

@@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
212210

213211
set -- \
214212
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215-
-classpath "$CLASSPATH" \
216213
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217214
"$@"
218215

0 commit comments

Comments
 (0)