Gradle store on local file system

后端 未结 15 1154
[愿得一人]
[愿得一人] 2020-12-04 05:12

How does Gradle store downloaded jar files on the local file system? Maven stores them in the .m2 directory under USER_HOME, but where does Gradle

15条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 06:18

    In fact the cache location depends on the GRADLE_USER_HOME environment variable value. By default, it is $USER_HOME/.gradle on Unix-OS based and %userprofile%.\gradle on Windows.
    But if you set this variable, the cache directory would be located from this path.

    And whatever the case, you should dig into caches\modules-2\files-2.1 to find the dependencies.

提交回复
热议问题