Hmmm, I think the groovy one is easier to read (for me), but I can see where someone can look at the xml file and deduce things easier [ for instance... func(something: anotherthing) is confusing to me... I'm not sure which is the type and which is the variable w/o looking inside the function]
Oh, and with the syntax highlighting... try this: vim build.groovy :TOhtml :wq
bam! I love that - it outputs the vim syntax highlighting scheme as html...