I don't know why it doesn't work the way you expect, but wouldn't the
following satisfy your requirement?

List excluded = [...]

excluded.each {exclude it}

Op 25 nov 2010 18:12 schreef "richardm" <
[email protected]>:


Why don't the includes/exludes in WAR files work when using these list
formats:


exclude '**/FileViewerControllerServlet.class, **/StreamingContent.class,
**/iPlanet/**'
OR

excludes ['**/FileViewerControllerServlet.class',
'**/StreamingContent.class', '**/iPlanet/**']

It's a bit of a pain to list out each include or exclude separately, ideally
I'l like to declare an exlude list once and re-use it on several war's.

Thanks.

--
View this message in context:
http://gradle.1045684.n5.nabble.com/exclude-classes-from-war-tp3278257p3280343.html

Sent from the gradle-user mailing list archive at Nabble.com.

-------------------------------------...

Reply via email to