I know that I can use the maven plugin in combination with mavenLocal() to set the artifact and use it locally.
However, exploring this a little further, I notice that this means that artifacts are set to the Mavens ~/.m2 , but at the same time, Gradle's own cache lives in ~/.gradle/caches in a different format.
This seems wasteful to me, a) works with two local caches and b) must add mavenLocal() to all projects. I was wondering if there is a way to post an artifact to Gradle ~/.gradle/caches ?
source share