Tries to chmod gradlew before running it.