I have resolved this Gradle caching issue like below.
In case anyone using MacBook then below is the steps I used to resolve this issue.
shortcut (? + shift + G)
then enter this inside popup window ~/.gradle/
press enter
file to be removed -> gradle.properties