File tree 6 files changed +19
-14
lines changed
6 files changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ jobs:
19
19
20
20
- uses : actions/setup-java@v4
21
21
with :
22
- distribution : ' zulu '
23
- java-version : 21
22
+ distribution : ${{ vars.JAVA_VENDOR }}
23
+ java-version : ${{ vars.GRADLE_JAVA_VERSION }}
24
24
java-package : jre
25
25
cache : ' gradle'
26
26
- run : printf "org.gradle.java.home=%s" "$JAVA_HOME" > gradle.properties
27
27
28
28
- uses : actions/setup-java@v4
29
29
with :
30
- distribution : ' zulu '
31
- java-version : 22
30
+ distribution : ${{ vars.JAVA_VENDOR }}
31
+ java-version : ${{ vars.JAVA_VERSION }}
32
32
check-latest : true
33
33
- run : printf "\norg.gradle.java.installations.paths=%s" "$JAVA_HOME" >> gradle.properties
34
34
- run : java --version
35
35
36
36
- name : Gradle Check
37
- run : ./gradlew -PtargetJava=22 check --stacktrace --no-daemon
37
+ run : ./gradlew -PtargetJava=${{ vars.JAVA_VERSION }} check --stacktrace --no-daemon
Original file line number Diff line number Diff line change @@ -19,24 +19,24 @@ jobs:
19
19
20
20
- uses : actions/setup-java@v4
21
21
with :
22
- distribution : ' zulu '
23
- java-version : 21
22
+ distribution : ${{ vars.JAVA_VENDOR }}
23
+ java-version : ${{ vars.GRADLE_JAVA_VERSION }}
24
24
java-package : jre
25
25
cache : ' gradle'
26
26
- run : printf "org.gradle.java.home=%s" "$JAVA_HOME" > gradle.properties
27
27
28
28
- uses : actions/setup-java@v4
29
29
with :
30
- distribution : ' zulu '
31
- java-version : 22
30
+ distribution : ${{ vars.JAVA_VENDOR }}
31
+ java-version : ${{ vars.JAVA_VERSION }}
32
32
check-latest : true
33
33
- run : printf "\norg.gradle.java.installations.paths=%s" "$JAVA_HOME" >> gradle.properties
34
34
- run : java --version
35
35
36
36
- name : Gradle Check
37
- run : ./gradlew check -PtargetJava=22 --stacktrace
37
+ run : ./gradlew check -PtargetJava=${{ vars.JAVA_VERSION }} --stacktrace
38
38
39
39
- name : Github Packages
40
- run : ./gradlew -PtargetJava=22 :json-iterator:publish
40
+ run : ./gradlew -PtargetJava=${{ vars.JAVA_VERSION }} :json-iterator:publish
41
41
env :
42
42
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.9 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.10 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 15
15
# See the License for the specific language governing permissions and
16
16
# limitations under the License.
17
17
#
18
+ # SPDX-License-Identifier: Apache-2.0
19
+ #
18
20
19
21
# #############################################################################
20
22
#
55
57
# Darwin, MinGW, and NonStop.
56
58
#
57
59
# (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/HEAD/subprojects/ plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60
+ # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/ plugins-application /src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
61
# within the Gradle project.
60
62
#
61
63
# You can find Gradle at https://github.com/gradle/gradle/.
84
86
# shellcheck disable=SC2034
85
87
APP_BASE_NAME=${0##*/ }
86
88
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87
- APP_HOME=$( cd " ${APP_HOME:- ./ } " > /dev/null && pwd -P ) || exit
89
+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90
+ ' " $PWD " ) || exit
88
91
89
92
# Use the maximum available, or set MAX_FD != -1 to use that value.
90
93
MAX_FD=maximum
Original file line number Diff line number Diff line change 13
13
@ rem See the License for the specific language governing permissions and
14
14
@ rem limitations under the License.
15
15
@ rem
16
+ @ rem SPDX-License-Identifier: Apache-2.0
17
+ @ rem
16
18
17
19
@ if " %DEBUG% " == " " @ echo off
18
20
@ rem ##########################################################################
You can’t perform that action at this time.
0 commit comments