Skip to content

Commit 186f3a8

Browse files
committed
Update Gradle Wrapper to 9.1.0
1 parent a4b342e commit 186f3a8

File tree

9 files changed

+20
-15
lines changed

9 files changed

+20
-15
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
# - windows-latest
2424
# - macos-latest
2525
java:
26-
- 8
27-
# - 17
26+
- '21'
2827
runs-on: ${{ matrix.os }}
2928
timeout-minutes: 20
3029
steps:

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
# pinned to macos-13 due to https://github.com/actions/runner-images/issues/9254
2626
- macos-13
2727
java:
28-
- 8
29-
- 17
30-
# - 21
28+
- '21'
3129
runs-on: ${{ matrix.os }}
3230
timeout-minutes: 20
3331
steps:

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
steps:
3737
- name: Checkout repository
3838
uses: actions/checkout@v5
39+
- name: Set up JDK
40+
uses: actions/[email protected]
41+
with:
42+
distribution: 'zulu'
43+
java-version: '21'
3944

4045
# Initializes the CodeQL tools for scanning.
4146
- name: Initialize CodeQL

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
# - windows-latest
2626
# - macos-latest
2727
java:
28-
- 8
29-
# - 17
28+
- '21'
3029
runs-on: ${{ matrix.os }}
3130
timeout-minutes: 20
3231
steps:

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id("maven-publish")
77
id("signing")
88
id("com.github.ben-manes.versions") version "0.52.0"
9-
id("net.ossindex.audit") version "0.4.11"
9+
id("org.sonatype.gradle.plugins.scan") version "3.1.4"
1010
id("io.freefair.maven-central.validate-poms") version "8.14.2"
1111
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
1212
}
@@ -198,6 +198,11 @@ signing {
198198
sign(publishing.publications[publicationName])
199199
}
200200

201+
ossIndexAudit {
202+
username = System.getenv("SONATYPE_INDEX_USERNAME") ?: findProperty("sonatype.index.username")
203+
password = System.getenv("SONATYPE_INDEX_PASSWORD") ?: findProperty("sonatype.index.password")
204+
}
205+
201206
nexusPublishing {
202207
repositories {
203208
if (!isSnapshot) {

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ sonatype.staging.url=https://oss.sonatype.org/service/local/staging/deploy/maven
1414
sonatype.staging.profile.id=
1515
sonatype.username=
1616
sonatype.password=
17+
18+
sonatype.index.username=
19+
sonatype.index.password=

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=8fad3d78296ca518113f3d29016617c7f9367dc005f932bd9d93bf45ba46072b
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
3+
distributionSha256Sum=a17ddd85a26b6a7f5ddb71ff8b05fc5104c0202c6e64782429790c933686c806
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
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

gradlew.bat

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

73-
set CLASSPATH=
7473

7574

7675
@rem Execute Gradle
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" %*
76+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7877

7978
:end
8079
@rem End local scope for the variables with windows NT shell

0 commit comments

Comments
 (0)