Having trouble running $ ./gradlew clean on your Mac with the new zsh terminal? Here’s what you need to do to fix this issue; simply run:
$ chmod +x gradlew
Then try and run ./gradlew clean again:
$ ./gradlew cleanAnd you should be back in business!