[GRADLE-725] War.libExcludeDependencies does not exclude transitive dependencies Created: 03/Nov/09 Updated: 04/Jan/13 Resolved: 24/Nov/10 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.8 |
Fix Version/s: | 0.9-rc-1 |
Type: | Bug | ||
Reporter: | Nigel Charman | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 0 |
Description |
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: war { 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. |