]> source.dussan.org Git - poi.git/commitdiff
change gradle build to get unreleased xmlbeans jar from ci-builds (like ant build...
authorPJ Fanning <fanningpj@apache.org>
Sun, 28 Feb 2021 19:48:22 +0000 (19:48 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 28 Feb 2021 19:48:22 +0000 (19:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887012 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index f08818f2547993d6de62c3ef62a1104ad48d248c..98cb8fcc49bfd893f637d9bced0c1a1efd9c45a3 100644 (file)
@@ -270,9 +270,10 @@ project('ooxml') {
         antdep 'org.apache.ant:ant:1.10.9'
     }
 
-    task downloadJarsToLibs(){
-        def f = new File('lib/ooxml/xmlbeans-4.0.1.jar')
+    task downloadJarsToLibs() {
+        def f = new File("$projectDir/../../lib/ooxml/xmlbeans-4.0.1.jar")
         if (!f.exists()) {
+            println 'writing file ' + f.getAbsolutePath()
             new URL('https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/lastSuccessfulBuild/artifact/build/xmlbeans-4.0.1.jar').withInputStream{ i -> f.withOutputStream{ it << i }}
         }
     }