The ultimate workaround I put in place was to declare the war artifact on the
runtime configuration in the war project's build file:

artifacts {
    compile war
}

...then I filter out the jar file when assembling my distribution in the
assembly project's build file:

task dist(type: Zip) {
    into("lib") {
        from configurations.default.allArtifacts.files
        exclude "mywar.jar"
}

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Can-t-access-war-artifact-from-dependencies-in-1-0-tp5124737p5145858.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to