Attempting to import ant build file fails

Hello, it seems that gradle isn’t able to resolve the ivy library you use in your ant build. How did you setup ivy in your ant build. Have you defined an ivy-install task or did you just put the ivy jars to the ANT_HOME\lib directory. Can you retry with the following snippet:

repositories{
 mavenCentral()
}
  configurations{
 ivyconf
}
  dependencies{
 ivyconf 'org.apache.ivy:ivy:2.3.0-rc1'
}
  ClassLoader antClassLoader = org.apache.tools.ant.Project.class.classLoader
                 configurations.ivyconf.each { File f ->
                         antClassLoader.addURL(f.toURI().toURL())
                 }
                   ant.importBuild 'build.xml'

This script downloads ivy and puts it on the classpath of gradles antbuilder.

regards, René