Describing the problem in pseudocode:
configurations.compile.dependencies.each { dep ->
findSourceJar(dep)
findJavadocJar(dep)
}
2011/1/14 Sten Roger Sandvik <[email protected]>
> Hi all.
>
> In my build I need to collect all dependencies from [compile, runtime]
> including javadoc and sources (if they are there). All the files will then
> be put into a directory. Is it an easy solution for this? I know the Eclipse
> and Idea plugin does this, but it does not seem to be a very elegant
> solution. Or am I missing something? :-)
>
> BR,
> Sten Roger Sandvik
>