Introduce a specific exception type for verification failuresThis introduces VerificationCheckFailedException to the Gradle API.It's purpose is to indicate that a check task was successfullyexecuted but resulted in failure due to violations.This allows other tools and Gradle logging to distinguish betweena verification tool failing to execute and one that failed for"normal and expected" reasons.The code quality and testing plugins are updated to use this newexception type when appropriate.
Add support for 'console' output type of CodeNarc plugin.This fix https://github.com/gradle/gradle/issues/1481 . Although it isdocumented that CodeNarc plugin supports 'console' output type, thattype is never implemented. This commit add 'console'TaskGeneratedSingleFile to CodeNarcReportsImpl, and adjust the optionswith which Ant codenarc task is called. To redirect Ant output to Gradlestandard output in 'console' type, the lifecycleLogLevel of AntLogAdapteris changed to INFO.Then, a unit test and an integration test are provided.