The extensionless wrapper is a Unix shell script; CreateProcess rejects it with error 193. llvm-strip likewise needs .exe there.
Node cannot hand gradlew.bat to CreateProcess (EINVAL); run the wrapper through a shell there. Two tests also assumed a POSIX checkout's trailing newline and path separators.