Type: New Feature
Affects Version/s: None
Fix Version/s: 0.9.1
Currently it is customary to include the user's local maven repository cache as a dependency repository for "downloading" artifacts. The standard way seems to be:
The problem with that is that users are free to specify an alternate cache directory, the standard way being via settings.xml.
I have developed some code y'all are free to use that sniffs out that situation. In my build I simply add that location as a repository. But I think the best generic solution is to make this available as a method mush like mavenCentral() is currently. Then user could say:
mavenCache() was another term suggested.
The "sniffing" code is available at http://github.com/hibernate/hibernate-core/blob/master/buildSrc/src/main/java/org/hibernate/build/gradle/maven/LocalMavenRepoSniffer.java