You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by cc...@apache.org on 2016/12/04 16:54:40 UTC
[2/3] groovy git commit: Avoid resolution of `compile` dependencies
at configuration time
Avoid resolution of `compile` dependencies at configuration time
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/5338bfc9
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/5338bfc9
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/5338bfc9
Branch: refs/heads/master
Commit: 5338bfc9096e1500c907cc55a47eda8fa29164bd
Parents: 93dad60
Author: Cedric Champeau <cc...@apache.org>
Authored: Sun Dec 4 17:47:51 2016 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Sun Dec 4 17:47:51 2016 +0100
----------------------------------------------------------------------
build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/5338bfc9/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 6a649bf..2e3dbe3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -372,7 +372,7 @@ ext.modules = {
task dgmConverter(dependsOn:compileJava) {
description = 'Generates DGM info file required for faster startup.'
def classesDir = sourceSets.main.output.classesDir
- def classpath = files(classesDir, configurations.compile).asPath
+ def classpath = files(classesDir, configurations.compile)
//main = 'org.codehaus.groovy.tools.DgmConverter'
//args = ['--info', classesDir.absolutePath]
@@ -381,7 +381,7 @@ task dgmConverter(dependsOn:compileJava) {
// we use ant.java because Gradle is a bit "too smart" with JavaExec
// as it will invalidate the task if classpath changes, which will
// happen once Groovy files are compiled
- ant.java(classname:'org.codehaus.groovy.tools.DgmConverter', classpath: classpath) {
+ ant.java(classname:'org.codehaus.groovy.tools.DgmConverter', classpath: classpath.asPath) {
arg(value: '--info')
arg(value: classesDir.absolutePath)
}