Browse Source

Exclude node_modules from NoHttp checks

Closes gh-32981
pull/33048/head
Sébastien Deleuze 2 years ago
parent
commit
1e2c4635a3
  1. 2
      build.gradle

2
build.gradle

@ -151,7 +151,7 @@ configure(rootProject) { @@ -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' ]

Loading…
Cancel
Save