I am currently running Gradle 1.7
but wish to build my project in Java 8
, I seen that it is necessary to run at least Ant version 1.9
to use Java 8
, I currently only have Ant version 1.8
, when trying to build I get the error described here.
How can I download Ant version 1.9
and integrate it so that Gradle uses the newer version of Ant
when building my project?
I have downloaded Ant 1.9.6
and replace the ant and ant launcher JARS
in the gradle libs folder but now when I run gradle -version I get:
Cannot locate Jar for Module Ant