remove all gradle packages code example
Example 1: gradle cache clean
rm -rf $HOME/.gradle/caches/
Example 2: how to clear gradle cache gitignore
git rm -r --cached .idea/
rm -rf $HOME/.gradle/caches/
git rm -r --cached .idea/