diff --git a/build.gradle b/build.gradle index a7ee00d3fe..4247631df4 100644 --- a/build.gradle +++ b/build.gradle @@ -271,15 +271,6 @@ project('ooxml') { antdep 'org.apache.ant:ant:1.10.9' } - task downloadJarsToLibs() { - def f = new File("$projectDir/../../lib/ooxml/xmlbeans-5.0.0.jar") - if (!f.exists()) { - println 'writing file ' + f.getAbsolutePath() - f.getParentFile().mkdirs() - new URL('https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/lastSuccessfulBuild/artifact/build/xmlbeans-5.0.0.jar').withInputStream{ i -> f.withOutputStream{ it << i }} - } - } - // we need to ensure that the custom ant tasks are compiled before we import the build.xml file ant.mkdir(dir: "../../build/poi-ant-contrib") ant.javac(srcdir: "../../src/excelant/poi-ant-contrib" @@ -295,7 +286,6 @@ project('ooxml') { 'ant-' + antTargetName } compileJava.dependsOn 'ant-compile-ooxml-xsds' - compileJava.dependsOn 'downloadJarsToLibs' dependencies { api "org.apache.xmlbeans:xmlbeans:${xmlbeansVersion}"