build: update gradle (#2583)

Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
Pun
2023-07-06 03:38:39 +07:00
committed by GitHub
parent 267dcacb99
commit 861c4ab57a
6 changed files with 18 additions and 4 deletions

5
gradlew vendored
View File

@ -130,10 +130,13 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.