File tree Expand file tree Collapse file tree 9 files changed +20
-15
lines changed Expand file tree Collapse file tree 9 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 3636 steps :
3737 - name : Checkout repository
3838 uses : actions/checkout@v5
39+ - name : Set up JDK
40+ 41+ with :
42+ distribution : ' zulu'
43+ java-version : ' 21'
3944
4045 # Initializes the CodeQL tools for scanning.
4146 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff 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+
201206nexusPublishing {
202207 repositories {
203208 if (! isSnapshot) {
Original file line number Diff line number Diff line change @@ -14,3 +14,6 @@ sonatype.staging.url=https://oss.sonatype.org/service/local/staging/deploy/maven
1414sonatype.staging.profile.id =
1515sonatype.username =
1616sonatype.password =
17+
18+ sonatype.index.username =
19+ sonatype.index.password =
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =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
55networkTimeout =10000
66validateDistributionUrl =true
77zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ case "$( uname )" in #(
114114 NONSTOP* ) nonstop=true ;;
115115esac
116116
117- CLASSPATH=" \\\"\\\" "
118117
119118
120119# Determine the Java command to use to start the JVM.
172171# For Cygwin or MSYS, switch paths to Windows format before running java
173172if " $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
213211set -- \
214212 " -Dorg.gradle.appname=$APP_BASE_NAME " \
215- -classpath " $CLASSPATH " \
216213 -jar " $APP_HOME /gradle/wrapper/gradle-wrapper.jar" \
217214 " $@ "
218215
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments