I don't know if there's a one-liner to do that, but the following doesn't seem
too clunky to me:
task foo(type: Copy) {
into "${buildDir}/foo"
from sourceSets.main.runtimeClasspath
from sourceSets.main.allSource
from docsDir
}
On Jan 14, 2011, at 3:06 AM, Sten Roger Sandvik wrote:
> 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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email