Push a local project jar into my local caches


(Christopher Johnson) #1

How can I push a local project jar into my local caches ? so project B can point to it ? Could you supply a gradle example file. Thanks.


#2

The Gradle cache is really just a cache, unlike Maven which actually uses the “cache” as an active repository. You don’t publish things to the Gradle cache.

You can publish your artifacts to a custom local repository, or to the Maven local repository (~/.m2).