The code I pasted above shows up all screwed up and repeated if I use the code tags, not sure why, probably markup issues. I try to post it again in this comment:
eclipse {
classpath {
file {
whenMerged { classpath ->
classpath.entries.findAll { entry -> entry.path ==~ /./velocity-1.4.jar$/ || entry.path ==~ /./velocity-dep-1.4.jar$/ }*.exported = false
}
}
} }