Hi all,

any hints here ?

--
Tomek

2009/10/20 Tomek Kaczanowski <[email protected]>:
> hi all,
>
> once again about copying of dependencies to some dir.
>
> I have few dependencies:
> configurations {
>    xyzJars
> }
>
> dependencies {
>    xyzJars "someGroup:someId:version"
>    xyzJars "someGroup2:someId2:version"
>   etc.
> }
>
> Now, what I want is to copy these dependencies to some folder. But
> only them, nothing more.
> I've tried numerous variants of copy task but without success. Code
> like this one:
> task deployBundles << {
>  copy {
>    from configurations.xyzJars
>    into "${tempDir}/deploy"
>  }
> }
> copies also dependencies of these dependencies as well (so I have a
> lot of "spring-xyz.jar", "log4j-xyz.jar" etc in the destination
> folder). I can remove them later (and I do), but I wonder if there is
> some simple way of making similar code work the way I expect.
>
> BTW. gradle 0.8
>
> As usual, I have this feeling that I'm missing something obvious... :(
>
> --
> Tomek
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to