summaryrefslogtreecommitdiff
path: root/gradlew
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-11-13 14:01:23 +0000
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-11-13 17:42:01 +0000
commite4da9ade0081d7011f3426762c943f508ecaff33 (patch)
treeb685223b8d6e57a144dcd26ae5ab8ae4c2e0b5cf /gradlew
parent83ad9c927952474f1adeb03bd67331288ed6d6d9 (diff)
build: Update to Gradle 7.6-rc3
This change updates the Gradle wrapper version to 7.6-rc3 in order to support building the project with Java 19.
Diffstat (limited to 'gradlew')
-rwxr-xr-xgradlew6
1 files changed, 6 insertions, 0 deletions
diff --git a/gradlew b/gradlew
index 1b6c7873..a69d9cb6 100755
--- a/gradlew
+++ b/gradlew
@@ -205,6 +205,12 @@ set -- \
org.gradle.wrapper.GradleWrapperMain \
"$@"
+# Stop when "xargs" is not available.
+if ! command -v xargs >/dev/null 2>&1
+then
+ die "xargs is not available"
+fi
+
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.