From d77bb727011607556a40cab9fe6775b0c67f657f Mon Sep 17 00:00:00 2001 From: Edric Date: Wed, 23 Aug 2023 18:38:49 +0800 Subject: [PATCH] chore: update Gradle wrapper Looks like this was missed out from the update to Gradle 8.3 commit: https://github.com/EdricChan03/androidx-ktx-extras/commit/1de82e15cd91955ec7c3741e6d514a412822629e --- gradlew | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gradlew b/gradlew index aeb74cb..fcb6fca 100755 --- a/gradlew +++ b/gradlew @@ -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.