Skip to content

Commit 393cd38

Browse files
Excavator: Upgrade gradle wrapper to the latest version
1 parent 9751574 commit 393cd38

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

gradle/wrapper/gradle-wrapper.jar

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

gradlew

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -95,7 +97,7 @@ done
9597
# shellcheck disable=SC2034
9698
APP_BASE_NAME=${0##*/}
9799
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
98-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
100+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
99101

100102
# Use the maximum available, or set MAX_FD != -1 to use that value.
101103
MAX_FD=maximum
@@ -123,7 +125,7 @@ case "$( uname )" in #(
123125
NONSTOP* ) nonstop=true ;;
124126
esac
125127

126-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
128+
CLASSPATH="\\\"\\\""
127129

128130

129131
# Determine the Java command to use to start the JVM.
@@ -214,15 +216,15 @@ fi
214216
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
215217

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

222224
set -- \
223225
"-Dorg.gradle.appname=$APP_BASE_NAME" \
224226
-classpath "$CLASSPATH" \
225-
org.gradle.wrapper.GradleWrapperMain \
227+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
226228
"$@"
227229

228230
# Stop when "xargs" is not available.
@@ -257,4 +259,4 @@ eval "set -- $(
257259
tr '\n' ' '
258260
)" '"$@"'
259261

260-
exec "$JAVACMD" "$@"
262+
exec "$JAVACMD" "$@"

gradlew.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################
@@ -68,11 +70,11 @@ goto fail
6870
:execute
6971
@rem Setup the command line
7072

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

7375

7476
@rem Execute Gradle
75-
"%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" %*
7678

7779
:end
7880
@rem End local scope for the variables with windows NT shell

0 commit comments

Comments
 (0)