Reputation: 47
What am I doing wrong?? It's not running my build.xml file.
Also, how would I be able to express the existing Ant logic in Gradle? Ex: Changing a build.xml to build.gradle and be able to have the same out put when compiled.
Upvotes: 2
Views: 6146
Reputation: 33476
Gradle allows you to import a full Ant build.
ant.importBuild 'build.xml'
Effectively this turns Ant targets into Gradle tasks which can be executed from the command line. Please see the Gradle user guide for more information.
Upvotes: 2
Reputation: 21
It may happen that your build.xml may not be on the classpath. Please check it once. Thanks
Upvotes: 1