Skip to content

Commit f828efe

Browse files
Update common files
1 parent ea43a9e commit f828efe

File tree

8 files changed

+24
-18
lines changed

8 files changed

+24
-18
lines changed

.github/workflows/central-sync.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
ref: v${{ github.event.inputs.release_version }}
21-
- uses: gradle/wrapper-validation-action@v3
21+
- uses: gradle/actions/wrapper-validation@v4
2222
- name: Set up JDK
2323
uses: actions/setup-java@v4
2424
with:
2525
distribution: 'temurin'
26-
java-version: '17'
26+
java-version: |
27+
17
28+
21
2729
- name: Publish to Sonatype OSSRH
2830
env:
2931
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ jobs:
4747
fetch-depth: 0
4848

4949
- name: "🔧 Setup GraalVM CE"
50-
uses: graalvm/setup-graalvm@v1.2.8
50+
uses: graalvm/setup-graalvm@v1.3.4
5151
with:
5252
distribution: 'graalvm'
5353
java-version: ${{ matrix.java }}
5454
github-token: ${{ secrets.GITHUB_TOKEN }}
5555

5656
- name: "🔧 Setup Gradle"
57-
uses: gradle/[email protected]
57+
uses: gradle/actions/setup-gradle@v4
5858

5959
- name: "❓ Optional setup step"
6060
run: |

.github/workflows/publish-snapshot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
uses: actions/setup-java@v4
2222
with:
2323
distribution: 'temurin'
24-
java-version: '17'
24+
java-version: |
25+
17
26+
21
2527
- name: Publish to Sonatype Snapshots
2628
if: success()
2729
env:

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
token: ${{ secrets.GH_TOKEN }}
20-
- uses: gradle/wrapper-validation-action@v3
20+
- uses: gradle/actions/wrapper-validation@v4
2121
- name: Set up JDK
2222
uses: actions/setup-java@v4
2323
with:
2424
distribution: 'temurin'
25-
java-version: '17'
25+
java-version: |
26+
17
27+
21
2628
- name: Set the current release version
2729
id: release_version
2830
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
@@ -115,7 +117,7 @@ jobs:
115117
artifacts-sha256: ${{ steps.set-hash.outputs.artifacts-sha256 }}
116118
steps:
117119
- name: Download artifacts-sha256
118-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
120+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
119121
with:
120122
name: artifacts-sha256
121123
# The SLSA provenance generator expects the hash digest of artifacts to be passed as a job
@@ -134,7 +136,7 @@ jobs:
134136
actions: read # To read the workflow path.
135137
id-token: write # To sign the provenance.
136138
contents: write # To add assets to a release.
137-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0
139+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
138140
with:
139141
base64-subjects: "${{ needs.provenance-subject.outputs.artifacts-sha256 }}"
140142
upload-assets: true # Upload to a new release.
@@ -148,7 +150,7 @@ jobs:
148150
- name: Checkout repository
149151
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
150152
- name: Download artifacts
151-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
153+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
152154
with:
153155
name: gradle-build-outputs
154156
path: build/repo
@@ -160,6 +162,6 @@ jobs:
160162
- name: Upload assets
161163
# Upload the artifacts to the existing release. Note that the SLSA provenance will
162164
# attest to each artifact file and not the aggregated ZIP file.
163-
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
165+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
164166
with:
165167
files: artifacts.zip

gradle/wrapper/gradle-wrapper.jar

1.83 KB
Binary file not shown.

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-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
#
4-
# Copyright © 2015-2021 the original authors.
4+
# Copyright © 2015 the original authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
118118

119119

120120
# Determine the Java command to use to start the JVM.
@@ -205,15 +205,15 @@ fi
205205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206206

207207
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209209
# and any embedded shellness will be escaped.
210210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211211
# treated as '${Hostname}' itself on the command line.
212212

213213
set -- \
214214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215215
-classpath "$CLASSPATH" \
216-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217217
"$@"
218218

219219
# Stop when "xargs" is not available.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ goto fail
7070
:execute
7171
@rem Setup the command line
7272

73-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73+
set CLASSPATH=
7474

7575

7676
@rem Execute Gradle
77-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
77+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7878

7979
:end
8080
@rem End local scope for the variables with windows NT shell

0 commit comments

Comments
 (0)