The new Gradle cache seems to store things under ~/.gradle/caches/artifacts-4/group/name/HASH/jars/name-version.jar. What determines the HASH? Sometimes, it seems to change if I change my repository definition - but sometimes not. It just changed again, and the only thing I did (I think) was to upgrade to a new snapshot of M6. Repository isolation is wonderful and all that - but most of my developers are remote, and we have hundreds of megs of dependencies. I can’t have them be redownloading dependencies just because some byte changed somewhere in the repository definition.
What does Gradle use to generate the hash? How can I make sure not to touch it? Better yet, is there a way to override the hash and manually specify a repository ID to use in its place?