The Maven plugin has a check goal that checks that the code coverage metrics are being met. Can you do this with the JaCoCo Gradle plugin?
At the moment the JaCoCo plugin does not provide a check task. This plugin is incubating and pull requests are welcome I created a jira ticket from this thread
cheers, René