I have a simple script called "switch" that allows me to quickly change
between versions of Groovy, Grails, Gradle, etc. (it changes a symlink).
Then I have this line in my ~/.gradle/gradle.properties:

gradle_installPath=/swd/app/gradle-SNAPSHOT

To consume my own version of Gradle, I do:
switch gradle SNAPSHOT # this I do just once
gradlew install # this I do every time I want to have a new version

After that, I can run the new version with "gradle ...".

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Blog: http://pniederw.wordpress.com
Twitter: @pniederw

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Custom-local-gradle-builds-tp4568149p4574007.html
Sent from the gradle-dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to