Java – no gradle dependency created in the gradle cache?
•
Java
In my module In the dependencies of the gradle file, I have the following:
dependencies { compile 'org.apache.cxf:cxf-bundle:2.7.18' }
I'm linking to this repository
My project builds normally and uses gradle cache to generate other dependencies But every time I look up the folder for this dependency in the cache, the
artifacts-26>filestore
It's not there
My understanding of gradle is very limited. I don't know why I won't create this?
Solution
Artifacts downloaded from an external repository are displayed here by default:
~/.gradle/caches/modules-2/files-2.1/<group>/<artifact>/<version>/<SHA1-checksum-of-module>
Here is cxf-core-3.1 3. Example of jar download dependency:
~/.gradle/caches/modules-2/files-2.1/org.apache.cxf/cxf-core/3.1.3/dc1e652736d770dc34dcacbac2279055e7fce000
Note: This is using gradle 2.8 In ~ / After gradle / caches /, some older versions of gradle may have a slightly different structure
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码