AntBuilder does not play nicely with Java/Gradle 1.8. Use a plain Copy task instead.