wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant, Ivy, Maven, Gradle and also Gant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant, Ivy, Maven, Gradle and also Gant" Watch "Ant, Ivy, Maven, Gradle and also Gant" New topic
Author

Ant, Ivy, Maven, Gradle and also Gant

Raymond Tong
Ranch Hand

Joined: Aug 15, 2010
Posts: 230
    
    2

It seems not much people talk about Gant.
Some people compared Maven and Gradle, and if Maven already fulfill the requirement, it may not worth to switch to Gradle.
Does the statement also applies to Gant?
A project I am doing is using Gant, how hard to migrate it to Gradle?
How strong of Groovy skill needed to use Gradle?
Hubert Klein Ikkink
author
Greenhorn

Joined: Jan 10, 2013
Posts: 13

Hi Raymond,

The following quote is from the Gant website:

Gant is just a lightweight facade on Groovy's AntBuilder. It just a way of scripting Ant tasks using Groovy. Gant can be used to do build tasks, but it doesn't have the integrated artefact dependency management, project lifecycle management, and multi-module/sub-project support that a fully fledged build framework should provide. Gradle on the other hand is a complete build framework based on Groovy and Ivy. If you just want to do some Ant task scripting then Gant is probably the tool you need, but for replacing Ant and Maven as build frameworks (so as to get rid of all the XML and use Groovy), then you probably need to consider Gradle.

And yes, Gant is managed by a Gradle build.

It is probably worth noting that Gradle grew out of work done on Gant.


I think migrating is not that hard. Gant uses AntBuilder and so can Gradle.

Gradle has a build DSL, which you need to know to write the build scripts, but you don't need real Groovy skills for that. Of course it can help if you know Groovy, but you can also get a long way by writing Java code in Gradle build scripts.
Raymond Tong
Ranch Hand

Joined: Aug 15, 2010
Posts: 230
    
    2

Thanks.
I think I would give it a try.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant, Ivy, Maven, Gradle and also Gant
 
Similar Threads
from ant, maven to gradle
stop downloading libraries everytime
Ant vs Maven newbie question
Spring classes not resolved even with libs added
A layman's doubt on build