clean cash gradlew code example Example 1: gradle cache clean rm -rf $HOME/.gradle/caches/ Example 2: clean gradle cache ./gradlew cleanBuildCache