Exclude node_modules from NoHttp checks

Closes gh-32981
This commit is contained in:
Sébastien Deleuze
2024-06-07 11:49:43 +02:00
parent 628b0504ec
commit 1e2c4635a3

View File

@@ -151,7 +151,7 @@ configure(rootProject) {
def rootPath = file(rootDir).toPath()
def projectDirs = allprojects.collect { it.projectDir } + "${rootDir}/buildSrc"
projectDirs.forEach { dir ->
[ 'bin', 'build', 'out', '.settings' ]
[ 'bin', 'build', 'out', '.settings', 'node_modules' ]
.collect { rootPath.relativize(new File(dir, it).toPath()) }
.forEach { source.exclude "$it/**" }
[ '.classpath', '.project' ]