disable gradle cache code example Example 1: how to clear cache of gradle gradlew cleanBuildCache Example 2: clean gradle cache ./gradlew cleanBuildCache