This didn't need changing in the first place :(
@@ -1,5 +1,5 @@
rootDir.eachDir() { File dir ->
- if (new File(dir, "main").directory) {
+ if (new File(dir, "src").directory) {
include dir.name
}