OnJava8-Examples/settings.gradle

12 lines
308 B
Groovy
Raw Permalink Normal View History

2016-07-07 12:43:10 -06:00
def isSubproject = { File file ->
file.isDirectory() &&
2021-02-10 12:04:53 -07:00
!file.name.startsWith('.') &&
2016-07-07 12:43:10 -06:00
!file.name.contains('build') &&
!file.name.contains('gradle') &&
!file.name.contains('test')
2016-07-07 12:43:10 -06:00
}
String[] subprojects = rootDir.listFiles().findAll(isSubproject).collect { it.name }
include subprojects