On May 25, 2009, at 7:54 PM, Luke Taylor wrote:
You can add your local repo, using
repositories {
mavenRepo name:'localRepo', urls:'file:///Users/me/.m2/repository'
// mavenCentral()
}
One change with Gradle 0.6 is that the name is now optional. And you
can have a chain of repositories. So this should work:
repositories {
mavenRepo urls:'file:///Users/me/.m2/repository'
mavenCentral()
}
- Hans
At least, that's what I've been using and it works OK.
I'm not much cop at groovy, but I'm sure you can write a task which
pulls down the jython jar and unpacks it without too much hassle.
You can use the ant support, for example:
task getJython << {
ant.get(src: 'http://downloads.sourceforge.net/jython/jython_installer-2.5rc2.jar'
, dest: 'jython-installer.jar')
}
Luke.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email