aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml-lite/build.gradle
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-24 14:45:11 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-24 14:45:11 +0000
commit3a3ac61965e3e7178a0df418e15351465312c1d4 (patch)
tree3f2fd8176f97e6f330b4995ce46f830a7149439e /poi-ooxml-lite/build.gradle
parent977a8708999a14e4797f5bca030f9ff1598aa97a (diff)
downloadpoi-3a3ac61965e3e7178a0df418e15351465312c1d4.tar.gz
poi-3a3ac61965e3e7178a0df418e15351465312c1d4.zip
add missing xsbs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894533 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml-lite/build.gradle')
-rw-r--r--poi-ooxml-lite/build.gradle5
1 files changed, 4 insertions, 1 deletions
diff --git a/poi-ooxml-lite/build.gradle b/poi-ooxml-lite/build.gradle
index a26f63e347..6138200762 100644
--- a/poi-ooxml-lite/build.gradle
+++ b/poi-ooxml-lite/build.gradle
@@ -126,7 +126,10 @@ jar {
List clazz = clazzFile.collect { "${it}.class" }
List clazzInner = clazzFile.collect { "${it}\$*.class" }
List xsbs = xsbsFile.collect { "org/apache/poi/schemas/ooxml/system/ooxml/${it}.xsb" }
- includes = clazz + clazzInner + xsbs + ['META-INF/versions/**', 'org/apache/poi/schemas/ooxml/element/**']
+ File missingXsbsFile = file("missing-xsbs.txt")
+ List xsbs2 = missingXsbsFile.findAll { !it.empty && !it.startsWith("#") }
+ .collect { "org/apache/poi/schemas/ooxml/system/ooxml/${it.trim()}.xsb" }
+ includes = clazz + clazzInner + xsbs + xsbs2 + ['META-INF/versions/**', 'org/apache/poi/schemas/ooxml/element/**']
}
}