MinecraftForge/ForgeGradle — pull request #22 by bdew (2013-12-05 13:09:11+00:00)
Title: SourceCopyTask should respect includes/excludes on the sources

Currently if you specify includes/excludes on your sources like this

```
sourceSets {
main {
java {
srcDir 'foo'
include 'bar'
}
}
}
```

the include/exclude gets ignored by SourceCopyTask, because [SourceDirectorySet.getSrcDirTrees doesn't respect them](https://github.com/gradle/gradle/blob/master/subprojects/core/src/main/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySet.java?source=cc#L126).