delete cache dir in .gradle code example
Example 1: how to remove gradle cache and temp files
gradlew cleanBuildCache
Example 2: how to clear gradle cache gitignore
git rm -r --cached .idea/
gradlew cleanBuildCache
git rm -r --cached .idea/