Ignore framework-docs from main branch in nohttp check

This commit is contained in:
Sam Brannen 2022-11-04 16:19:31 +01:00
parent 6abfe041b1
commit 638d91f5f4
1 changed files with 2 additions and 1 deletions

View File

@ -415,7 +415,7 @@ configure(rootProject) {
source.exclude "**/test-output/**"
allowlistFile = project.file("src/nohttp/allowlist.lines")
def rootPath = file(rootDir).toPath()
def projectDirs = allprojects.collect { it.projectDir } + "${rootDir}/buildSrc"
def projectDirs = allprojects.collect { it.projectDir } + "${rootDir}/buildSrc" + "${rootDir}/framework-docs"
projectDirs.forEach { dir ->
[ 'bin', 'build', 'out', '.settings' ]
.collect { rootPath.relativize(new File(dir, it).toPath()) }
@ -439,4 +439,5 @@ configure(rootProject) {
}
}
}
}