gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.jar
This is a binary file and will not be displayed.
+2
-1
gradle/wrapper/gradle-wrapper.properties
+2
-1
gradle/wrapper/gradle-wrapper.properties
+21
-14
gradlew
+21
-14
gradlew
···
1
#!/bin/sh
2
-
# SPDX-License-Identifier: Apache-2.0
3
4
#
5
# Copyright © 2015-2021 the original authors.
···
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
# See the License for the specific language governing permissions and
17
# limitations under the License.
18
#
19
20
##############################################################################
···
56
# Darwin, MinGW, and NonStop.
57
#
58
# (3) This script is generated from the Groovy template
59
-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60
# within the Gradle project.
61
#
62
# You can find Gradle at https://github.com/gradle/gradle/.
···
84
# This is normally unused
85
# shellcheck disable=SC2034
86
APP_BASE_NAME=${0##*/}
87
-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
88
-
89
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
90
-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
91
92
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
MAX_FD=maximum
···
134
fi
135
else
136
JAVACMD=java
137
-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
138
139
Please set the JAVA_HOME variable in your environment to match the
140
location of your Java installation."
141
fi
142
143
# Increase the maximum file descriptors if we can.
···
145
case $MAX_FD in #(
146
max*)
147
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148
-
# shellcheck disable=SC3045
149
MAX_FD=$( ulimit -H -n ) ||
150
warn "Could not query maximum file descriptor limit"
151
esac
···
153
'' | soft) :;; #(
154
*)
155
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156
-
# shellcheck disable=SC3045
157
ulimit -n "$MAX_FD" ||
158
warn "Could not set maximum file descriptor limit to $MAX_FD"
159
esac
···
198
done
199
fi
200
201
-
# Collect all arguments for the java command;
202
-
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
203
-
# shell script including quotes and variable substitutions, so put them in
204
-
# double quotes to make sure that they get re-expanded; and
205
-
# * put everything else in single quotes, so that it's not re-expanded.
206
207
set -- \
208
"-Dorg.gradle.appname=$APP_BASE_NAME" \
···
1
#!/bin/sh
2
3
#
4
# Copyright © 2015-2021 the original authors.
···
14
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
# See the License for the specific language governing permissions and
16
# limitations under the License.
17
+
#
18
+
# SPDX-License-Identifier: Apache-2.0
19
#
20
21
##############################################################################
···
57
# Darwin, MinGW, and NonStop.
58
#
59
# (3) This script is generated from the Groovy template
60
+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
61
# within the Gradle project.
62
#
63
# You can find Gradle at https://github.com/gradle/gradle/.
···
85
# This is normally unused
86
# shellcheck disable=SC2034
87
APP_BASE_NAME=${0##*/}
88
+
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89
+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90
+
' "$PWD" ) || exit
91
92
# Use the maximum available, or set MAX_FD != -1 to use that value.
93
MAX_FD=maximum
···
134
fi
135
else
136
JAVACMD=java
137
+
if ! command -v java >/dev/null 2>&1
138
+
then
139
+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
140
141
Please set the JAVA_HOME variable in your environment to match the
142
location of your Java installation."
143
+
fi
144
fi
145
146
# Increase the maximum file descriptors if we can.
···
148
case $MAX_FD in #(
149
max*)
150
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
151
+
# shellcheck disable=SC2039,SC3045
152
MAX_FD=$( ulimit -H -n ) ||
153
warn "Could not query maximum file descriptor limit"
154
esac
···
156
'' | soft) :;; #(
157
*)
158
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
159
+
# shellcheck disable=SC2039,SC3045
160
ulimit -n "$MAX_FD" ||
161
warn "Could not set maximum file descriptor limit to $MAX_FD"
162
esac
···
201
done
202
fi
203
204
+
205
+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
206
+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
207
+
208
+
# Collect all arguments for the java command:
209
+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210
+
# and any embedded shellness will be escaped.
211
+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212
+
# treated as '${Hostname}' itself on the command line.
213
214
set -- \
215
"-Dorg.gradle.appname=$APP_BASE_NAME" \
+11
-10
gradlew.bat
+11
-10
gradlew.bat
···
14
@rem limitations under the License.
15
@rem
16
@rem SPDX-License-Identifier: Apache-2.0
17
18
@if "%DEBUG%"=="" @echo off
19
@rem ##########################################################################
···
44
%JAVA_EXE% -version >NUL 2>&1
45
if %ERRORLEVEL% equ 0 goto execute
46
47
-
echo.
48
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
49
-
echo.
50
-
echo Please set the JAVA_HOME variable in your environment to match the
51
-
echo location of your Java installation.
52
53
goto fail
54
···
58
59
if exist "%JAVA_EXE%" goto execute
60
61
-
echo.
62
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
63
-
echo.
64
-
echo Please set the JAVA_HOME variable in your environment to match the
65
-
echo location of your Java installation.
66
67
goto fail
68
···
14
@rem limitations under the License.
15
@rem
16
@rem SPDX-License-Identifier: Apache-2.0
17
+
@rem
18
19
@if "%DEBUG%"=="" @echo off
20
@rem ##########################################################################
···
45
%JAVA_EXE% -version >NUL 2>&1
46
if %ERRORLEVEL% equ 0 goto execute
47
48
+
echo. 1>&2
49
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50
+
echo. 1>&2
51
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52
+
echo location of your Java installation. 1>&2
53
54
goto fail
55
···
59
60
if exist "%JAVA_EXE%" goto execute
61
62
+
echo. 1>&2
63
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64
+
echo. 1>&2
65
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66
+
echo location of your Java installation. 1>&2
67
68
goto fail
69