I think that what you want is the "resolve" task. - David
On Mon, May 2, 2011 at 7:40 PM, Philip Crotwell <[email protected]>wrote: > Perhaps not the same type of download, but is there a gradle task to > download all of the dependencies without doing anything else? I have > not been able to find this, but it seems like it should exist and > would be quite useful to run on the laptop right before heading out to > the park. Most things in gradle work fine without an internet > connection, but if you are missing a dependency you are hosed. > > thanks, > Philip > > On Sun, May 1, 2011 at 11:00 PM, Colin Harrington > <[email protected]> wrote: > > +1 for a download task. > > > > Colin Harrington > > > > > > On Sun, Feb 13, 2011 at 8:31 PM, Teo Hui Ming <[email protected]> > wrote: > >> > >> Great! looking forward for the coming releases. > >> > >> Anyway, hope the new feature will support 1) show up-to-date download > >> progress status , 2) support resume partial download > >> > >> > >> On Mon, Feb 14, 2011 at 8:11 AM, Adam Murdoch <[email protected]> wrote: > >> > > >> > On 13/02/2011, at 10:42 AM, Teo Hui Ming wrote: > >> > > >> > On Sun, Feb 13, 2011 at 2:50 AM, Peter Niederwieser < > [email protected]> > >> > wrote: > >> > > >> > What are you trying to achieve? Do you have a Gradle build? Do you > want > >> > to > >> > > >> > use Gradle as a library? > >> > > >> > Hi, I want to use it in usual Gradle build file. For instance, > >> > > >> > build.gradle: > >> > -- > >> > task downloadFile { > >> > ant.get(src: '<url>', verbose:true) // any Gradle equivalent? > >> > } > >> > > >> > Not yet, though we do want to support something like this. Possibly, > we > >> > might do this by allowing you to use a URL in a copy spec from > >> > statement: > >> > copy { > >> > from 'http://some-resource' > >> > into 'build/tmp > >> > } > >> > Or, even more pervasively, allow a URL to be used to specify any input > >> > file: > >> > checkStyle { > >> > configFile 'http://some-resource' > >> > } > >> > processResources { > >> > from('http://some-resource') { > >> > expand(prop: value) > >> > } > >> > } > >> > > >> > -- > >> > Adam Murdoch > >> > Gradle Developer > >> > http://www.gradle.org > >> > CTO, Gradle Inc. - Gradle Training, Support, Consulting > >> > http://www.gradle.biz > >> > > >> > > >> > >> > >> > >> -- > >> Teo Hui Ming > >> > >> --------------------------------------------------------------------- > >> To unsubscribe from this list, please visit: > >> > >> http://xircles.codehaus.org/manage_email > >> > >> > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
