File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 3
3
.DS_Store
4
4
build
5
5
/logs
6
+ gradle /wrapper /gradle-wrapper.jar
Original file line number Diff line number Diff line change 82
82
83
83
CLASSPATH=$APP_HOME /gradle/wrapper/gradle-wrapper.jar
84
84
85
+ if [ ! -f " $CLASSPATH " ] ; then
86
+ curl https://raw.githubusercontent.com/gradle/gradle/master/gradle/wrapper/gradle-wrapper.jar -o $CLASSPATH
87
+ fi
88
+
85
89
# Determine the Java command to use to start the JVM.
86
90
if [ -n " $JAVA_HOME " ] ; then
87
91
if [ -x " $JAVA_HOME /jre/sh/java" ] ; then
Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ set CMD_LINE_ARGS=%*
81
81
82
82
set CLASSPATH = %APP_HOME% \gradle\wrapper\gradle-wrapper.jar
83
83
84
+ if not exist %CLASSPATH% (Invoke-WebRequest https://raw.githubusercontent.com/gradle/gradle/master/gradle/wrapper/gradle-wrapper.jar -OutFile %CLASSPATH% )
85
+
84
86
@ rem Execute Gradle
85
87
" %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
86
88
You can’t perform that action at this time.
0 commit comments