Browse Source

Exclude spring-jcl from nohttp check on main branch

The spring-jcl module no longer exists on main, but it still exists on
the 6.2.x branch and previous branches and can cause build failures when
switching between branches.
pull/34333/head
Sam Brannen 11 months ago
parent
commit
36cd069c6e
  1. 2
      buildSrc/src/main/java/org/springframework/build/CheckstyleConventions.java

2
buildSrc/src/main/java/org/springframework/build/CheckstyleConventions.java

@ -64,7 +64,7 @@ public class CheckstyleConventions { @@ -64,7 +64,7 @@ public class CheckstyleConventions {
NoHttpExtension noHttp = project.getExtensions().getByType(NoHttpExtension.class);
noHttp.setAllowlistFile(project.file("src/nohttp/allowlist.lines"));
noHttp.getSource().exclude("**/test-output/**", "**/.settings/**",
"**/.classpath", "**/.project", "**/.gradle/**", "**/node_modules/**");
"**/.classpath", "**/.project", "**/.gradle/**", "**/node_modules/**", "**/spring-jcl/**");
List<String> buildFolders = List.of("bin", "build", "out");
project.allprojects(subproject -> {
Path rootPath = project.getRootDir().toPath();

Loading…
Cancel
Save