raise XmlBeans to 5.0.0 (nightly) also in the gradle build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887345 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2021-03-08 22:36:08 +00:00
parent 943b18f8d1
commit afbef57d35
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ subprojects {
log4jVersion = '2.14.0' log4jVersion = '2.14.0'
mockitoVersion = '3.6.0' mockitoVersion = '3.6.0'
hamcrestVersion = '2.2' hamcrestVersion = '2.2'
xmlbeansVersion = '4.0.1' xmlbeansVersion = '5.0.0'
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
@ -271,10 +271,10 @@ project('ooxml') {
} }
task downloadJarsToLibs() { task downloadJarsToLibs() {
def f = new File("$projectDir/../../lib/ooxml/xmlbeans-4.0.1.jar") def f = new File("$projectDir/../../lib/ooxml/xmlbeans-5.0.0.jar")
if (!f.exists()) { if (!f.exists()) {
println 'writing file ' + f.getAbsolutePath() 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 }} 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 }}
} }
} }