Browse Source

nohttp exclude **/.gradle/**

pull/30045/head
Rob Winch 2 years ago committed by Rossen Stoyanchev
parent
commit
601de66c03
  1. 2
      buildSrc/src/main/java/org/springframework/build/CheckstyleConventions.java

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

@ -63,7 +63,7 @@ public class CheckstyleConventions { @@ -63,7 +63,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");
"**/.classpath", "**/.project", "**/.gradle/**");
List<String> buildFolders = List.of("bin", "build", "out");
project.allprojects(subproject -> {
Path rootPath = project.getRootDir().toPath();

Loading…
Cancel
Save