The screenshot which I have attached is related maven project where I can easily see dependencies which are present in m2 directory and also it is visible in “maven dependencies” section in the maven project structure
But when build a gradle project, I am not able find where the project related dependencies are getting stored.
Can you please tell me where dependencies get stored in case of gradle?
At <GRADLE_USER_HOME>/caches/modules-2/files-2.1/.... <GRADLE_USER_HOME> is at ~/.gradle if you didn’t customize it, so in your case C:\Users\TestUser\.gradle\caches\modules-2\files-2.1\....
When you open the folder Project and External Dependencies in the Package or Project Explorer, you can see the paths for individual dependencies. This is analogous to Maven: