Hi adam,
we needed to change them because we get a cnfe when running the
groovydoc task. The groovydoc task was'nt able to resolve the jansi lib
used in groovys compile classpath. I didn't notice the classpath
property of the groovydoc task, since it is not mentioned in the
userguide. BTW we used 0.9.2. The description of the groovyClasspath
property in the DSL doc says:
"The classpath used to locate classes referenced by the documented
sources." I guess that's a "bug" in the DSL doc. I'll provide a patch &
a jira issue within the next days ;-)
regards,
René
Am 27.05.11 21:53, schrieb Adam Murdoch:
On 28/05/2011, at 2:33 AM, Dierk König wrote:
Hiall,
the groovydoc task has a default classpath of
projects.configurations.groovy.
We needed to set it to configurations.compile, which we think makes
more sense as a default anyway.
any opinions?
Are you talking about the groovyClasspath or classpath property?
groovyClasspath defaults to configurations.groovy
classpath defaults to sourceSets.main.output +
sourceSets.main.compileClasspath
These defaults should work fine. Why do you need to change them?
--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com
--
-----------------------
regards René
rene groeschke
http://www.breskeby.com
@breskeby