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.
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).