mirror of https://github.com/apache/poi.git
update gradlew
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8814a4bfb9
commit
5d36e0c450
|
@ -116,7 +116,7 @@ esac
|
||||||
# Loop in case we encounter an error.
|
# Loop in case we encounter an error.
|
||||||
for attempt in 1 2 3; do
|
for attempt in 1 2 3; do
|
||||||
if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
|
if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
|
||||||
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v8.3/gradle/wrapper/gradle-wrapper.jar"; then
|
if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v8.3.0/gradle/wrapper/gradle-wrapper.jar"; then
|
||||||
rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
|
rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
|
||||||
# Pause for a bit before looping in case the server throttled us.
|
# Pause for a bit before looping in case the server throttled us.
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
Loading…
Reference in New Issue