1- @ rem
2- @ rem Copyright 2015 the original author or authors.
3- @ rem
4- @ rem Licensed under the Apache License, Version 2.0 (the "License");
5- @ rem you may not use this file except in compliance with the License.
6- @ rem You may obtain a copy of the License at
7- @ rem
8- @ rem https://www.apache.org/licenses/LICENSE-2.0
9- @ rem
10- @ rem Unless required by applicable law or agreed to in writing, software
11- @ rem distributed under the License is distributed on an "AS IS" BASIS,
12- @ rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13- @ rem See the License for the specific language governing permissions and
14- @ rem limitations under the License.
15- @ rem
16-
171@ if " %DEBUG% " == " " @ echo off
182@ rem ##########################################################################
193@ rem
@@ -27,13 +11,10 @@ if "%OS%"=="Windows_NT" setlocal
2711set DIRNAME = %~dp0
2812if " %DIRNAME% " == " " set DIRNAME = .
2913set APP_BASE_NAME = %~n0
30- set APP_HOME = %DIRNAME%
31-
32- @ rem Resolve any "." and ".." in APP_HOME to make it shorter.
33- for %%i in (" %APP_HOME% " ) do set APP_HOME = %%~fi
14+ set APP_HOME = %DIRNAME% ..
3415
3516@ rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36- set DEFAULT_JVM_OPTS = " -Xmx64m " " -Xms64m "
17+ set DEFAULT_JVM_OPTS =
3718
3819@ rem Find java.exe
3920if defined JAVA_HOME goto findJavaFromJavaHome
@@ -82,11 +63,10 @@ set CMD_LINE_ARGS=%*
8263:execute
8364@ rem Setup the command line
8465
85- set CLASSPATH = %APP_HOME% \gradle\wrapper\gradle-wrapper.jar
86-
66+ set CLASSPATH = %APP_HOME% \lib\gradle-launcher-4.9.jar
8767
8868@ rem Execute Gradle
89- " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
69+ " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.launcher.GradleMain %CMD_LINE_ARGS%
9070
9171:end
9272@ rem End local scope for the variables with windows NT shell
0 commit comments