On 21/04/10 10:23 PM, Russel Winder wrote:
I find myself having the source tree structured:
src
org
demos
Setting the source tree to 'src' leads to chaos because the demos have
to be compiled independently (as there are duplicate class names).
There are no examples of using exclude in a sourceSets in the manual --
at least not that I can find on a quick search.
Any ideas on how to handle this?
Something like:
sourceSets.main.java.exclude 'demos/**'
or
sourceSets {
main {
java {
exclude 'demos/**'
}
}
}
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email