]> source.dussan.org Git - poi.git/commitdiff
remove temp gradle workaround for xmlbeans
authorPJ Fanning <fanningpj@apache.org>
Fri, 26 Mar 2021 08:22:00 +0000 (08:22 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 26 Mar 2021 08:22:00 +0000 (08:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888079 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index a7ee00d3fe653b06f393752ce462ab2970ac2767..4247631df47d244d9f9c86477d0891d6985e8645 100644 (file)
@@ -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}"