I need to execute from Gradle an Ant script which relies on environment variables. Ant uses
I tried to do
in Gradle, but it throws a Groovy exception.
What is the proper way to pass environment variables from Gradle to Ant?