Hook up forbidden apis to precommit.

This commit is contained in:
Dawid Weiss 2020-01-03 15:35:15 +01:00
parent 8b03a7104e
commit 797f571fc3
1 changed files with 3 additions and 3 deletions

View File

@ -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 [