HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs

- linked `forbiddenApis` task with the `check` task
This commit is contained in:
Steve Ebersole 2018-05-12 20:38:00 -05:00
parent 56f44399a4
commit ad5f63bf64
1 changed files with 2 additions and 0 deletions

View File

@ -345,3 +345,5 @@ task forbiddenApisNonPortable(type: CheckForbiddenApis, dependsOn: compileJava)
task forbiddenApis
project.tasks.withType( CheckForbiddenApis ).each { task -> forbiddenApis.finalizedBy task }
project.tasks.check.finalizedBy forbiddenApis