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
