On 3 Jan 2012, at 19:02, Adam Murdoch wrote:
On 03/01/2012, at 11:30 PM, Luke Daley wrote:
For the Grails build, we have to dig in to the artifact cache to pull
out jars and ivy metadata.It would be useful if we could ask Gradle
what the version number of the cache is so that we can put something
in place to fail when the cache layout changes due to a Gradle
upgrade.Naive suggestion is something like: assert
gradle.dependencyCache.artifactCacheVersion == "7"Going forward, the
Grails build shouldn't need to do this but it might not be a bad idea
to expose this anyway.
I really don't want to do this. The artifact cache is internal. I
think we should instead expose the stuff that Grails needs (eg a way
to ask for the ivy descriptor artifact for a module).
Ok.
If you really, really want to know the artifact cache version, you can
infer it from the Gradle version.
I can't, because the issue is someone updating the Gradle version which
uses a new artifact cache. I can't tell if a new version uses a new
layout.
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email