Thanks, that works!


On Tue, Jan 19, 2010 at 3:15 AM, Adam Murdoch <[email protected]> wrote:

>
>
> On 19/01/10 6:30 AM, Peter Maas wrote:
>
>> Hi list,
>>
>> I've setup a multiproject gradle layout and wondered whether it is
>> possible aggregate the javadocs from all subprojects into a single javadoc
>> site. Can it be done using the default javadoc task or should I start
>> scripting ;)
>>
>>
> The Gradle build does a similar thing:
>
> task javadoc(type: Javadoc) {
>    source subprojects.collect {project -> project.sourceSets.main.allJava }
>    destinationDir = new File(buildDir, 'javadoc')
>    // Might need a classpath
>    classpath = files(subprojects.collect {project ->
> project.sourceSets.main.compileClasspath})
> }
>
>
> --
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to