summaryrefslogtreecommitdiffstats
path: root/poi-ooxml-lite/build.gradle
diff options
context:
space:
mode:
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/**']
}
}