Hello Gradle Mailinglist :-)

I've a multiproject build which publishes artifacts into a maven
repository. One module within this build is just for structural/reuse
reasons in our project setup and is included in the other modules by

----
dependsOn(':shared')

dependencies{
    compile project(':shared')
}
----

This shared module  gets integrated into the main modules by the jar
configuration:

jar {
    project(':shared').configurations.archives.allArtifacts.each { def
artifact ->
        from zipTree(artifact.file.absolutePath)
    }
}

My problem is, that this dependency still shows up in my pom files
generated by the maven plugin - of course as I didn't remove it so far.

What would be the proper "gradle way" to exclude :shared from the
dependencies that are used within the maven plugin tasks?


cheers
 Markus


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to