Adam,

On Thu, 2009-06-04 at 07:05 +1000, Adam Murdoch wrote:
[ . . . ]
> I agree. However, given that Gradle integrates so deeply with Groovy, in 
> practice it's a lot of work to support more than 1 version of Groovy 
> (for build files that is - Groovy projects are fine). I think there will 
> come a time when we will have to solve the multiple versions of Groovy 
> problem, but we should leave it for now. Provided, of course, that we 
> are pretty quick to move to the latest version of Groovy.
[ . . . ]

For Gant I ended up creating builds for Groovy 1.5, 1.6 and 1.7.  It
turns out that there is no need for version specific source except in
the unit tests, but there do need to be version specific compilations.
However the Gant source is way smaller and far simpler than the Gradle
source -- because Gant is basically very simple and doesn't actually
have to do much, whereas Gradle is a serious bit of work.

There is also a standalone distribution of Gant that includes the latest
release Groovy, in this case 1.6.3.

Actually I think supporting the Gant build and then applying this to the
Gradle build itself is a good use case for Gradle.

From what I can tell trying to do the Gant build in Ant would require
lots of macro magic where it is relatively straightforward in Gant using
functions and closures.  I guess I should try creating a GMaven build,
but I gave up on Maven even with all the effort Jason took to try and
sort me out a Maven build.

I haven't actually been able to follow up on all the idea people
presented some weeks ago on how to progress this build need using
Gradle.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to