ci: fix errors in step _setup gradle_

This commit is contained in:
siujamo
2025-06-24 17:37:26 +08:00
parent 43ca0dcb07
commit 7ca3f58357
3 changed files with 28 additions and 35 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
Vendored
+15 -18
View File
@@ -1,25 +1,21 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (c) 2024-2025 OnixByte # Copyright © 2015-2021 the original authors.
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Licensed under the Apache License, Version 2.0 (the "License");
# of this software and associated documentation files (the "Software"), to deal # you may not use this file except in compliance with the License.
# in the Software without restriction, including without limitation the rights # You may obtain a copy of the License at
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# #
# The above copyright notice and this permission notice shall be included in all # https://www.apache.org/licenses/LICENSE-2.0
# copies or substantial portions of the Software.
# #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # Unless required by applicable law or agreed to in writing, software
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # distributed under the License is distributed on an "AS IS" BASIS,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # See the License for the specific language governing permissions and
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # limitations under the License.
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE #
# SOFTWARE. # SPDX-License-Identifier: Apache-2.0
# #
############################################################################## ##############################################################################
@@ -61,7 +57,7 @@
# Darwin, MinGW, and NonStop. # Darwin, MinGW, and NonStop.
# #
# (3) This script is generated from the Groovy template # (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project. # within the Gradle project.
# #
# You can find Gradle at https://github.com/gradle/gradle/. # You can find Gradle at https://github.com/gradle/gradle/.
@@ -90,7 +86,8 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum
Vendored
+12 -16
View File
@@ -1,23 +1,19 @@
@rem @rem
@rem Copyright (c) 2024-2025 OnixByte @rem Copyright 2015 the original author or authors.
@rem @rem
@rem Permission is hereby granted, free of charge, to any person obtaining a copy @rem Licensed under the Apache License, Version 2.0 (the "License");
@rem of this software and associated documentation files (the "Software"), to deal @rem you may not use this file except in compliance with the License.
@rem in the Software without restriction, including without limitation the rights @rem You may obtain a copy of the License at
@rem to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@rem copies of the Software, and to permit persons to whom the Software is
@rem furnished to do so, subject to the following conditions:
@rem @rem
@rem The above copyright notice and this permission notice shall be included in all @rem https://www.apache.org/licenses/LICENSE-2.0
@rem copies or substantial portions of the Software.
@rem @rem
@rem THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR @rem Unless required by applicable law or agreed to in writing, software
@rem IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @rem distributed under the License is distributed on an "AS IS" BASIS,
@rem FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER @rem See the License for the specific language governing permissions and
@rem LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, @rem limitations under the License.
@rem OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE @rem
@rem SOFTWARE. @rem SPDX-License-Identifier: Apache-2.0
@rem @rem
@if "%DEBUG%"=="" @echo off @if "%DEBUG%"=="" @echo off