From commits-return-8265-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Fri Apr 12 00:38:31 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A80E7180784 for ; Fri, 12 Apr 2019 02:38:31 +0200 (CEST) Received: (qmail 74907 invoked by uid 500); 12 Apr 2019 00:38:30 -0000 Mailing-List: contact commits-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list commits@groovy.apache.org Received: (qmail 74848 invoked by uid 99); 12 Apr 2019 00:38:30 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2019 00:38:30 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id EF1F1814C3; Fri, 12 Apr 2019 00:38:30 +0000 (UTC) Date: Fri, 12 Apr 2019 00:38:32 +0000 To: "commits@groovy.apache.org" Subject: [groovy] 02/07: GROOVY-9062: Bump codenarc to 1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: paulk@apache.org In-Reply-To: <155502951076.2641.12278767494400485706@gitbox.apache.org> References: <155502951076.2641.12278767494400485706@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: groovy X-Git-Refname: refs/heads/GROOVY_2_5_X X-Git-Reftype: branch X-Git-Rev: 16b549b8c94677597fe3bb59a64d724880e4bc66 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190412003830.EF1F1814C3@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch GROOVY_2_5_X in repository https://gitbox.apache.org/repos/asf/groovy.git commit 16b549b8c94677597fe3bb59a64d724880e4bc66 Author: Paul King AuthorDate: Mon Apr 1 23:02:54 2019 +1000 GROOVY-9062: Bump codenarc to 1.3 --- gradle/quality.gradle | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gradle/quality.gradle b/gradle/quality.gradle index 8e2103e..8184668 100644 --- a/gradle/quality.gradle +++ b/gradle/quality.gradle @@ -27,6 +27,7 @@ allprojects { if (JavaVersion.current() >= JavaVersion.VERSION_1_8) { apply plugin: 'com.github.spotbugs' } + configurations.codenarc { // because we will rely on the version we build // because version ranges are evil @@ -40,6 +41,11 @@ allprojects { } } + dependencies { + codenarc "org.codenarc:CodeNarc:1.3" + codenarc project(":groovy-templates") + } + // license { // header rootProject.file('config/licensing/HEADER.txt') // include "**/*.groovy" @@ -132,7 +138,7 @@ allprojects { if (JavaVersion.current() >= JavaVersion.VERSION_1_8) { spotbugs { toolVersion = '3.1.7' - // continue build despite findbug warnings + // continue build despite warnings ignoreFailures = true //defining source set is needless //just run ./gradlew spotbugsMain then it will parse src/main/java. @@ -161,12 +167,12 @@ subprojects { sp -> 'src/test/resources/includes/hello-escaped.txt', 'src/test/resources/includes/hello.html' ] - break; + break case ['groovy-groovydoc', 'groovy-docgenerator']: extras = [ '**/stylesheet.css' // MIT license as per NOTICE/LICENSE files ] - break; + break } rat { inputDir = sp.projectDir.absolutePath @@ -191,5 +197,4 @@ rat { } apply from: 'gradle/jacoco/jacoco.gradle' -// Temporarily disabled because of conflict apply from: 'gradle/binarycompatibility.gradle'