Hi.
I've written a small and very simply groovy script to retrieve the HEAD
revision of a git repository.
http://github.com/huxi/sulky/blob/master/GitHeadHash.groovy
(The code might suck since groovy isn't my first language. Any suggestions are
highly appreciated!)
I'd like to change this into something that replaces a placeholder, e.g.
${git.revision}, in a properties file with this obtained value.
What would be the next step? What is the preferred way of doing this in gradle?
And how would I "release" this so others could also use this functionality?
The rationale behind this is that it'd be quite helpful to have the revision
info of the source in the compiled artifact. It would ease support quite a bit.
Cheers,
Joern.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email