mirror of https://github.com/apache/poi.git
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
This commit is contained in:
parent
5350121bfe
commit
39ac99440e
|
@ -271,8 +271,9 @@ project('ooxml') {
|
|||
}
|
||||
|
||||
task downloadJarsToLibs() {
|
||||
def f = new File('lib/ooxml/xmlbeans-4.0.1.jar')
|
||||
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 }}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue