This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new a5a8783 Improved: Complete checkstyle related work (OFBIZ-12341) a5a8783 is described below commit a5a878389343ae385e77235cfe242684fe2e94cc Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Nov 2 17:16:19 2021 +0100 Improved: Complete checkstyle related work (OFBIZ-12341) I forgot to put tasks.checkstyleMain.maxErrors at zero. While at it now show new violations in console --- build.gradle | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 8c151ee..2cdf265 100644 --- a/build.gradle +++ b/build.gradle @@ -352,10 +352,9 @@ checkstyle { // the sum of errors found last time it was changed after using the // ‘checkstyle’ tool present in the framework and in the official // plugins. - tasks.checkstyleMain.maxErrors = 10 - // Currently there are still errors so we need to temporarily - // hide them to avoid polluting the terminal output. - showViolations = false + tasks.checkstyleMain.maxErrors = 0 + // Currently there are no errors so we can show new one when they appear + showViolations = true } gitHooks { hooks = ['pre-push': 'checkstyleMain']