You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2022/03/19 05:13:41 UTC

[groovy] branch GROOVY_3_0_X updated: GROOVY-10532: Bump Codenarc to 3.0.0 (build dependency)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new b2d9467  GROOVY-10532: Bump Codenarc to 3.0.0 (build dependency)
b2d9467 is described below

commit b2d946746a6079fa5caf32d1faba37c3260cce0e
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Mar 19 15:13:35 2022 +1000

    GROOVY-10532: Bump Codenarc to 3.0.0 (build dependency)
---
 gradle/quality.gradle | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gradle/quality.gradle b/gradle/quality.gradle
index e25b596..e81c5ff 100644
--- a/gradle/quality.gradle
+++ b/gradle/quality.gradle
@@ -34,6 +34,7 @@ allprojects { proj ->
             substitute module("org.codehaus.groovy:groovy") with project(":")
             substitute module("org.codehaus.groovy:groovy-ant") with project(":groovy-ant")
             substitute module("org.codehaus.groovy:groovy-xml") with project(":groovy-xml")
+            substitute module("org.codehaus.groovy:groovy-json") with project(":groovy-json")
             substitute module("org.codehaus.groovy:groovy-groovydoc") with project(":groovy-groovydoc")
         }
 
@@ -42,7 +43,7 @@ allprojects { proj ->
 
     dependencies {
         checkstyle "com.puppycrawl.tools:checkstyle:$checkstyleVersion"
-        codenarc "org.codenarc:CodeNarc:2.2.0"
+        codenarc "org.codenarc:CodeNarc:3.0.0"
         spotbugs "com.github.spotbugs:spotbugs:$spotbugsVersion"
         if (proj.name.contains('jaxb') && JavaVersion.current().isJava9Compatible()) {
             spotbugs 'javax.xml.bind:jaxb-api:2.3.0'
@@ -74,9 +75,9 @@ allprojects { proj ->
         //dependsOn jar
         ignoreFailures = true
         configFile = file("$rootProject.projectDir/config/codenarc/codenarc.groovy")
-        doFirst {
-            configurations.codenarc.files.each { println it }
-        }
+//        doFirst {
+//            configurations.codenarc.files.each { println it }
+//        }
     }
 
     tasks.withType(Checkstyle) {