From 2bb3839bfe3e3bacff79f8157465633e311239ce Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 26 Mar 2021 08:22:00 +0000 Subject: [PATCH] remove temp gradle workaround for xmlbeans git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888079 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 10 ---------- 1 file changed, 10 deletions(-) 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}" -- 2.39.5