On 6 November 2011 10:59, Joern Huxhorn <[email protected]> wrote:
> On 05.11.2011, at 22:40, Daz DeBoer wrote:
>
>> - Don't request .sha1 and .md5 files when not required
>
> Just out of curiosity: under which circumstances are/aren't those files 
> required?
>
> Cheers,
> Joern

Good question. At the moment, checksum files are never explicitly used
by Gradle.
However, you should be able to tell ivy to use these files under the
covers via the BasicResolver.setChecksums() method. In theory, ivy
will then verify the checksum of any downloaded file.

I say in theory because we don't have any explicit test support for
this use case, and this functionality could well be broken. In the
past we've relied on ivy to do all our dependency resolution without
much interference. And we still allow users to provide a custom
DependencyResolver implementation for us to use. However, for
performance, feature and correctness reasons we're starting to take
control of dependency resolution. In doing so we're making many things
better, but there's always a chance that we'll break something on the
way.

I'll add checksum support to the list of integration tests I'm
planning to write.
Thanks
-- 
Darrell (Daz) DeBoer
Principal Engineer, Gradleware
http://www.gradleware.com

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

    http://xircles.codehaus.org/manage_email


Reply via email to