osx clean .gradle code example Example 1: how to remove gradle cache and temp files gradlew cleanBuildCache Example 2: clean gradle cache ./gradlew cleanBuildCache