Oh, sorry... I misread your intentions.

On Jan 14, 2011, at 7:07 AM, Sten Roger Sandvik wrote:

> Thanks, but I really need jar, source and javadoc dependencies to the 
> project. Not the actual sourceSets to the project I am building. 
> 
> 2011/1/14 Kolovos, Val (Orbitz) <[email protected]>
> 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
> 
> 
> 

Reply via email to