I just released Gradle-Git, which has some Git tasks and plugins. The most useful plugin at this point is the 'gh-pages' one which will upload source files to your gh-pages branch on Github. The DSL needs work, and I'm sure there are plenty of other issues, so please let me know either directly, on the issues section of the Github repo, or create a pull request if you have any issues or suggestions.
See the README for usage information. https://github.com/ajoberstar/gradle-git I based all of this on Peter's Git tasks below. Thanks for sharing them! Andrew Oberstar On Tue, Jan 24, 2012 at 2:48 AM, Peter Ledbrook <pe...@cacoethes.co.uk>wrote: > > As part of a new Grails documentation project, I created some basic > > tasks that use JGit to publish HTML to GitHub Pages. If anyone's > > interested in extracting those into a proper git plugin for Gradle, > > the source is here: > > > > > https://github.com/pledbrook/grails-howtos/blob/master/buildSrc/build.gradle > > That's rather embarassing. Not only did I post the wrong link, but I > hadn't actually pushed the changes! Anyway, the tasks are here: > > > https://github.com/pledbrook/grails-howtos/tree/master/buildSrc/src/main/groovy/grails/doc/gradle > > and example usage here: > > https://github.com/pledbrook/grails-howtos/blob/master/build.gradle > > Peter > > -- > Peter Ledbrook > Grails Advocate > SpringSource - A Division of VMware > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >