aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorMarius Volkhart <mariusvolkhart@apache.org>2021-03-14 18:56:30 +0000
committerMarius Volkhart <mariusvolkhart@apache.org>2021-03-14 18:56:30 +0000
commitdeb410b568f56fd292f94b85b7ef28d54bae7f2d (patch)
treeae13d1016918bebebf52b62393a0f09117449570 /build.gradle
parent21ba7dc108c71501196b5586567719f67eea4936 (diff)
downloadpoi-deb410b568f56fd292f94b85b7ef28d54bae7f2d.tar.gz
poi-deb410b568f56fd292f94b85b7ef28d54bae7f2d.zip
Exclude batik-script dependency from OOXML artifact
We do not make use of the batik-script dependency. While this is likely to be true of a variety of the Batik dependencies, batik-script causes problems for our users who are using JPMS. See [bug-65103]. Fixes #230 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887643 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 6b7b5cb2e0..845d107044 100644
--- a/build.gradle
+++ b/build.gradle
@@ -311,7 +311,9 @@ project('ooxml') {
// compile only, don't add it to our dist as it blows up the size
compile "org.apache.xmlgraphics:batik-svggen:${batikVersion}"
- compile "org.apache.xmlgraphics:batik-bridge:${batikVersion}"
+ compile("org.apache.xmlgraphics:batik-bridge:${batikVersion}") {
+ exclude group: 'org.apache.xmlgraphics', module: 'batik-script'
+ }
compile "org.apache.xmlgraphics:batik-codec:${batikVersion}"
compile 'xml-apis:xml-apis-ext:1.3.04'
compile 'org.apache.xmlgraphics:xmlgraphics-commons:2.4'
@@ -420,6 +422,7 @@ project('integrationtest') {
test {
// exclude these from the normal test-run
+ exclude '**/TestAllFiles.class'
exclude '**/*FileHandler.class'
}