Gradle store on local file system

后端 未结 15 1137
[愿得一人]
[愿得一人] 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条回答
  •  Happy的楠姐
    2020-12-04 06:05

    If you want your dependency files to be in some specific folder you can simply use a copy task for it. For Eg.

    task copyDepJars(type: Copy) {
      from configurations.compile
      into 'C:\\Users\\athakur\\Desktop\\lib'
    }
    

提交回复
热议问题