From 2582189d0e7f8385a7e0a746ef3e6b3adc96e17a Mon Sep 17 00:00:00 2001 From: Andrew Oberstar Date: Tue, 10 May 2016 18:22:42 -0500 Subject: [PATCH] Fix #113 by changing groovy dep to compileOnly Groovy is already on the classpath of Gradle which is the main use case for grgit. Since Gradle doesn't do any conflict resolution with the dependencies of plugins against what they bundle in the Gradle distribution, I can't expose that as a direct dependency. --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 257a3b9d..9f65b984 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,8 @@ def jgitVersion = '4.3.1.201605051710-r' dependencies { // groovy - compile 'org.codehaus.groovy:groovy-all:2.4.5' + compileOnly 'org.codehaus.groovy:groovy-all:2.4.5' + testCompile 'org.codehaus.groovy:groovy-all:2.4.5' // jgit compile "org.eclipse.jgit:org.eclipse.jgit:$jgitVersion"