Gradle store on local file system

后端 未结 15 1128
[愿得一人]
[愿得一人] 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:19

    You can use the gradle argument --project-cache-dir "/Users/whatever/.gradle/" to force the gradle cache directory.

    In this way you can be darn sure you know what directory is being used (as well as create different caches for different projects)

提交回复
热议问题