Phil Messenger wrote:
>
> Ah, so I've managed to get this working, kind of. The problem I'm hitting
> now is that when I resolve the dependencies I get a failure on a sibling
> project:
> ...
> module not found: miniweb#ImageTranscoderCore;1.0.1-SNAPSHOT
>
> ==== clientModule: tried
>
> ==== build-resolver: tried
>
Ok, so it turns out that to get this to work I need to setup a closure that
gets executed when the task is executed, not when the project file is
evaluated.
dists
{
dependsOn 'libs'
tar().doFirst { task ->
task.configure {
dependency code
here
}
}
}
does the trick.
--
View this message in context:
http://www.nabble.com/including-dependencies-in-an-archive-tp18947033p18960401.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