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.
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com