Bump spotless version and update config for groovyGradle stuff (#979)

This commit is contained in:
Sriman Achanta
2023-10-24 23:02:59 -04:00
committed by GitHub
parent df45bc2d73
commit adc30336d2
13 changed files with 97 additions and 47 deletions

View File

@@ -4,11 +4,11 @@ def EXCLUDED_DIRS = ["bin", "build"]
// List all non-hidden directories not in EXCUDED_DIRS
ext.exampleFolderNames = file("${rootDir}")
.listFiles()
.findAll {
return (it.isDirectory()
&& !it.isHidden()
&& !(it.name in EXCLUDED_DIRS) && !it.name.startsWith(".")
&& it.toPath().resolve("build.gradle").toFile().exists())
}
.collect { it.name }
.listFiles()
.findAll {
return (it.isDirectory()
&& !it.isHidden()
&& !(it.name in EXCLUDED_DIRS) && !it.name.startsWith(".")
&& it.toPath().resolve("build.gradle").toFile().exists())
}
.collect { it.name }