--strict now implying --offline even when remote cache is intentionally disabled

Bug: 321949384

Test: run busytown/androidx.sh and see that it mentions expanding `--strict` into several arguments including `--offline`

Test: run busytown/androidx_incremental.sh and see that it doesn't mention `--offline`

Change-Id: I7e219e653ee9bfb93ec6f6ce538c95bca89e69d3
diff --git a/gradlew b/gradlew
index 7edf562..e13d44f 100755
--- a/gradlew
+++ b/gradlew
@@ -264,7 +264,7 @@
   if [ "$compact" == "--strict" ]; then
     expanded="-Pandroidx.validateNoUnrecognizedMessages\
      -Pandroidx.verifyUpToDate"
-    if [ "$USE_ANDROIDX_REMOTE_BUILD_CACHE" == "" ]; then
+    if [ "$USE_ANDROIDX_REMOTE_BUILD_CACHE" == "" -o "$USE_ANDROIDX_REMOTE_BUILD_CACHE" == "false" ]; then
       expanded="$expanded --offline"
     fi
   fi