Gradle task from Ant not working


(Mak Bhatamrekar) #1

I need help, I have followed the gradle guide, to help me invoke a gradle task from ANT build, but it does not work

This is what my could looks like
https://github.com/makrand-bkar/gradle-ant-test

Twist is I am doing a ant.call to invoke the target

Gradle Version -2.14
Ant Version - 1.9
JDK - 1.7

Error I am getting
Target “intro” does not exist in the project “ant”. It is used from target “gradleBuild”.


(Mak Bhatamrekar) #2

Looks like ant.call is not yet supported from Gradle, following things made my Ant build work

  • Remove all ant.call targets and instead invoke them using depends
  • Remove all parallel tasks, this also does not seem to work with gradle