On 31/12/09 9:55 AM, Paul Speed wrote:
Adam Murdoch wrote:
On 29/12/09 8:44 PM, Paul Speed wrote:
Here is what I use that works:
mavenRepo name:'myrepo', urls:new File( System.getProperty(
"user.home" ), ".m2/repository" ).toURL().toString()
I really want to make my own mavenExtended plug-in that does this by
default because it's kind of annoying to put this in every build
file. :)
I wonder if the maven plugin should do this by default. Or perhaps offer
I've hinted at that before. :)
a mavenCache() method, so you can do this:
repositories {
mavenCache()
}
It would be nice.
I've added http://jira.codehaus.org/browse/GRADLE-788
Since gradle doesn't seem to cross-share its own repository between
different gradle projects (or at least still tries to download them
from maven repos), using the local maven repository is really my only
way to resolve these dependencies.
All Gradle builds share the repository in ~/.gradle/cache, and will use
the dependency out of this cache if it is present. However, if you're
using snapshot dependencies, Gradle will hit the maven repo to see if
there's a newer snapshot, and will download it if so.
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email