My company has a custom ant distribution with a lot of extensions. I need to call some tasks in an ant xml file that requires a lot of properties to be set from the gradle project. It would be nice to take advantage of Gradle’s built-in ant integration to streamline this. Is there a way to make it work with a custom ant dist, or am i stuck calling ant directly as a separate process?
If you need to use the custom Ant distribution, you’ll have to call it as a separate process (say with ‘Exec’ or ‘JavaExec’). If using custom Ant tasks with Gradle’s bundled Ant distribution is an option, you can use Gradle’s Ant integration.
Ok, i assumed that was the case. Thanks…