I am having a devil of a time figuring out the syntax to do a fairly trivial
thing.
Imagine there are two directories with files I want to include and exclude in
each:
SourceSet 1
srcDir "src/main/foo/lish/ness"
include "**/who/**"
exclude "**/what/**"
and
SourceSet 2
srcDir "src/main/bar/bra/gordon"
include "**/when/**"
exclude "**/where/**"
I want the union of these to be my test sourceSet as in
sourceSets {
test {
resources {
//SourceSet 1 + SourceSet 2
}
}
}
I have tried every combination of collections and FileTrees I can think of, but
at best I find only one of the two will work.
As an added bonus, it would be great if I could add the union of SourceSet 1
and SourceSet 2 to the test source set Gradle has by default in src/main/test.
In other words, I would love to be able to union those two with the default
rather than have the union "overwrite"' the default.
Any insight into how any of this can be achieved is appreciated.
Thanks.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email