Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Remove the explicit dependency to "check", as fobiddenapis installs it automatically (especially for all source sets; if we want this explicit dependency, it should depend on 'forbiddenApis' not each task). In addition precommit, also adds it.

Uwe Schindler469d742384a8
diff --git a/gradle/validation/forbidden-apis.gradle b/gradle/validation/forbidden-apis.gradle
index 4767d0fe3de..f08fdc0050e 100644
--- a/gradle/validation/forbidden-apis.gradle
+++ b/gradle/validation/forbidden-apis.gradle
@@ -89,9 +89,6 @@ allprojects { prj ->
]
}
- // Attach validation to check task.
- check.dependsOn forbiddenApisMain, forbiddenApisTest
-
// Disable sysout signatures for these projects.
if (prj.path in [
":lucene:demo",