gradlew (5589cdf32b2bb0f641e5ac7bf1f6152cd6b9b70e) gradlew (6613e77203923e5b1742a49281bfa5de03fc1440)
1#!/bin/sh
2
3#
4# Copyright © 2015-2021 the original authors.
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# https://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
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#
1#!/bin/sh
2
3#
4# Copyright © 2015-2021 the original authors.
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# https://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
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#
18
19##############################################################################
20#
21# Gradle start up script for POSIX generated by Gradle.
22#
23# Important for running:
24#
25# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is

--- 24 unchanged lines hidden (view full) ---

50# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
51# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
52# see the in-line comments for details.
53#
54# There are tweaks for specific operating systems such as AIX, CygWin,
55# Darwin, MinGW, and NonStop.
56#
57# (3) This script is generated from the Groovy template
20
21##############################################################################
22#
23# Gradle start up script for POSIX generated by Gradle.
24#
25# Important for running:
26#
27# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is

--- 24 unchanged lines hidden (view full) ---

52# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
53# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
54# see the in-line comments for details.
55#
56# There are tweaks for specific operating systems such as AIX, CygWin,
57# Darwin, MinGW, and NonStop.
58#
59# (3) This script is generated from the Groovy template
58# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59# within the Gradle project.
60#
61# You can find Gradle at https://github.com/gradle/gradle/.
62#
63##############################################################################
64
65# Attempt to set APP_HOME
66

--- 12 unchanged lines hidden (view full) ---

79 *) app_path=$APP_HOME$link ;;
80 esac
81done
82
83# This is normally unused
84# shellcheck disable=SC2034
85APP_BASE_NAME=${0##*/}
86# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
61# within the Gradle project.
62#
63# You can find Gradle at https://github.com/gradle/gradle/.
64#
65##############################################################################
66
67# Attempt to set APP_HOME
68

--- 12 unchanged lines hidden (view full) ---

81 *) app_path=$APP_HOME$link ;;
82 esac
83done
84
85# This is normally unused
86# shellcheck disable=SC2034
87APP_BASE_NAME=${0##*/}
88# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90' "$PWD" ) || exit
88
89# Use the maximum available, or set MAX_FD != -1 to use that value.
90MAX_FD=maximum
91
92warn () {
93 echo "$*"
94} >&2
95

--- 154 unchanged lines hidden ---
91
92# Use the maximum available, or set MAX_FD != -1 to use that value.
93MAX_FD=maximum
94
95warn () {
96 echo "$*"
97} >&2
98

--- 154 unchanged lines hidden ---