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.

This commit is contained in:
Uwe Schindler 2020-09-03 17:50:57 +02:00
parent 99df3814ab
commit 469d742384
1 changed files with 0 additions and 3 deletions

View File

@ -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",