mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
remove temp gradle workaround for xmlbeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
226ae72458
commit
2bb3839bfe
10
build.gradle
10
build.gradle
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user