[GRADLE-725] War.libExcludeDependencies does not exclude transitive dependencies Created: 03/Nov/09 Updated: 04/Jan/13 Resolved: 24/Nov/10
|Reporter:||Nigel Charman||Assignee:||Adam Murdoch|
I'm using the groovy and war plugins. However, I'm only using Groovy for testing, and don't want the Groovy dependencies to appear in my war file.
My dependencies include:
and my war project contains:
This excludes the groovy jar from the war WEB-INF/lib folder of the war file, but not the transitive dependencies (eg. the war file contains WEB-INF/lib/jline-0.9.94.jar). I've found a couple of workarounds. However I think that libExcludeDependencies should exclude transitive dependencies by default.