Looks like the DSL doesn't support this yet. Could you file an issue for
this?
Meanwhile, you can do it the programmatic way:
configurations.compile.dependencies.find { it.name ==
"shared"}.exclude(group: "xerces", module: "xerces")
Or, if a configuration-wide exclude is good enough:
configurations.compile.exclude(group: "xerces", module: "xerces")
Cheers,
Peter
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Excluding-a-transitive-dependency-from-a-project-tp3344855p3345024.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