diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-02-28 19:48:22 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-02-28 19:48:22 +0000 |
commit | 39ac99440e6146e11342c731af6653fb0b759edf (patch) | |
tree | d6a44239bfdc079265a38be6ff818e6a203e3a73 /build.gradle | |
parent | 5350121bfebfbca43b257761710afed233214116 (diff) | |
download | poi-39ac99440e6146e11342c731af6653fb0b759edf.tar.gz poi-39ac99440e6146e11342c731af6653fb0b759edf.zip |
change gradle build to get unreleased xmlbeans jar from ci-builds (like ant build does)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887012 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index f08818f254..98cb8fcc49 100644 --- a/build.gradle +++ b/build.gradle @@ -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 }} } } |