hello,

I'm attempting to include my projects dependencies in a Zip archive (this is
a child project). I've got the following stanza in my build.gradle file:

dists
{
        tar {
                tarFileSet(dir: "ImageTranscoderServer/src/bin") {
                        include('*.sh')
                        prefix = '/bin'
                }
                files(dependencies.resolve("runtime"))
        }
}

now it seems that this closure is evaluated immediately, which means that
the dependencies.resolve call is executed before the dependencies are
actually set, so I just get a blank list of dependencies.

How should I be including my dependencies in a bundle/archive?

Phil.

-- 
View this message in context: 
http://www.nabble.com/including-dependencies-in-an-archive-tp18947033p18947033.html
Sent from the gradle-user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to