diff --git a/build.gradle b/build.gradle index 02764dec2a..38c71649e3 100644 --- a/build.gradle +++ b/build.gradle @@ -51,10 +51,7 @@ if (jointBuildGroovyJarProperty) { throw new GradleException("The groovy.jar system property points to ${jointBuildGroovyJar.absolutePath} which does not exist.") } } else { - groovyDependency = dependencies.create("org.apache.groovy:groovy:${groovyVersion}") { - exclude module:"commons-cli" - exclude module:"ant" - } + groovyDependency = dependencies.create("org.apache.groovy:groovy:${groovyVersion}") } version = grailsVersion