Is Gant 100% Ant compatible?

I wrote Groovy code and I would like to integrate it with existing Java code. We would like to save our ant scripts and add only the necessary Groovy features. Will Gant allow us to store our existing scripts?

+3
source share
3 answers

According to the Gant website, no:

Gant is a tool for scripting Ant tasks using Groovy instead of XML to specify logic. The Gant specification is a Groovy script ...

The Gant script construct uses a Groovy script, not XML, but uses Ant tasks. Therefore, if you have any custom Ant tasks, you can still use them.

+2

, , . Ant Gant .

groovy Ant groovy ( Gant-flavored) Ant .

+1

, :

Gradle - Groovy -build. , . .

Gradle FAQ ():

Gradle Ant script. Gradle a Ant build. Ant Gradle. Gradlebuild script.

+1

Source: https://habr.com/ru/post/1712703/


All Articles