Hello,

I'd like to create a single javadoc for all subprojects of a multiproject 
build.

When I call 'gradle javadoc', gradle creates an apidoc for each subproject.

So I created a top-level task:

task apidocs(type: Javadoc) {
        title = "my test"
        classpath = ...
        optionsFile = file('jdoc.options')
        include 'my.stuff/**'
        if (!optionsFile.exists()) {
                ...
        }
}

The creation of the optionsFile works so far, as well as collecting the 
sources ...

... but the javadoc get's never executed.

So how can I create a javadoc-task for the root-project only, which does not 
execute the javadoc-task at the subprojects, but does what I like it to do?
Or do I need to call the ant.javadoc myself?

kind regards

Geronimo

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to