For some reason, I have been unable to get things to work with Gradle's JavaDoc task type. One problem, for example, is the doclet-specific options. I didn't worry too much about it since it isn't the highest priority, so getting this particular task done the "right" way would be more of an academic exercise later when I want to pay some technical debt. My configuration with ant.javadoc works for now.
As far as the dependency on a configuration, I saw that in the documentation--such as in example 33.7, so I figured why not? Thanks for letting me know that is superfluous. On Mar 8, 2011, at 2:28 AM, Peter Niederwieser wrote: > Not sure why you still use ant.javadoc instead of Gradle's JavaDoc task type. > Anyway, "dependsOn: configurations.jaxDoclet" is wrong. A task can only > depend on other tasks but not on a configuration. > > -- > Peter Niederwieser > Developer, Gradle > http://www.gradle.org > Trainer & Consultant, Gradleware > http://www.gradleware.com > Creator, Spock Framework > http://spockframework.org > > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Classpath-for-Javadoc-Task-with-AntBuilder-tp3412980p3413599.html > Sent from the gradle-user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
