Include Ant runtime when importing a legacy build file

Hi,

I’m trying to wrap a legacy Ant build file with a Gradle build.

One of the Ant targets contains a use of javac that has includeantruntime=“true” set and it’s failing to compile because the Gradle build doesn’t have the Ant Runtime set as a dependency. All the other uses of javac in this particular Ant target have it set false and they compile fine.

Can anyone tell me how to add this to my Gradle build file so that this will work?