Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X d5717ad43 -> cacd25b12


Fix Codenarc execution


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/cacd25b1
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/cacd25b1
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/cacd25b1

Branch: refs/heads/GROOVY_2_5_X
Commit: cacd25b12d333c95c0254820e3039afc3d0484f5
Parents: d5717ad
Author: Cedric Champeau <[email protected]>
Authored: Sun Dec 17 20:52:37 2017 +0100
Committer: Cedric Champeau <[email protected]>
Committed: Sun Dec 17 20:53:12 2017 +0100

----------------------------------------------------------------------
 gradle/quality.gradle | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/cacd25b1/gradle/quality.gradle
----------------------------------------------------------------------
diff --git a/gradle/quality.gradle b/gradle/quality.gradle
index b59f1d7..bf0f1ee 100644
--- a/gradle/quality.gradle
+++ b/gradle/quality.gradle
@@ -30,7 +30,12 @@ allprojects {
         // because version ranges are evil
         // and because it causes bnd to be brought transitively
         // I am unsure why; says it is required by groovy-ant but its pom.xml 
does not declare so
-        exclude group:'org.codehaus.groovy'
+        resolutionStrategy.dependencySubstitution {
+            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-groovydoc") with 
project(":groovy-groovydoc")
+        }
     }
 
 //    license {

Reply via email to