Making gradle build artifacts visible for maven builds in local scenario...?


(anthony.kerz) #1

i have a scenario where i have a maven based project in eclipse which has a dependency on the result of a gradle based project (also in the same eclipse workspace for what it’s worth). i would like to test changes to the gradle based artifact in the maven based project. what would be the (a) recommended way of accomplishing that?

i was looking at this http://www.gradle.org/docs/current/userguide/maven_plugin.html#sub:installing_to_the_local_repository, so i added:

apply plugin: 'maven'

but not sure what to do next, since i’m almost a complete gradle noob, any help appreciated…

thx, tony.


(Peter Niederwieser) #2

With the Java and Maven plugins applied, ‘gradle install’ will install the project’s artifacts into the local Maven repository.