xenoterracide
12/28/2017, 7:44 PMlistOf(
"is",
"sec",
"changeset",
"reg",
"fileuploads"
/*
"pdf",
"user-authn"*/
).forEach { if (file("lib/" + it).exists()) includeBuild("lib/" + it) }
I want to rewrite this to simply list lib, and then do the needfuldgngulcan
12/28/2017, 8:13 PMxenoterracide
12/28/2017, 8:15 PMxenoterracide
12/28/2017, 8:16 PMfile("lib")
.listFiles(File::isDirectory)
.filter({ it.walkTopDown().maxDepth(1).any { it.name == "settings.gradle" } })
.forEach({ includeBuild(it.toRelativeString(cwd)) })
xenoterracide
12/28/2017, 8:16 PMxenoterracide
12/28/2017, 8:17 PMdgngulcan
12/28/2017, 8:55 PM