mirror of https://github.com/apache/lucene.git
Hook up forbidden apis to precommit.
This commit is contained in:
parent
8b03a7104e
commit
797f571fc3
|
@ -64,9 +64,9 @@ allprojects { prj ->
|
|||
]
|
||||
}
|
||||
|
||||
// Attach validation to check task.
|
||||
check.dependsOn forbiddenApisMain
|
||||
check.dependsOn forbiddenApisTest
|
||||
// Attach validation to check and precommit tasks.
|
||||
check.dependsOn forbiddenApisMain, forbiddenApisTest
|
||||
precommit.dependsOn forbiddenApisMain, forbiddenApisTest
|
||||
|
||||
// Disable sysout signatures for these projects.
|
||||
if (prj.path in [
|
||||
|
|
Loading…
Reference in New Issue