diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-12-26 10:22:14 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-12-26 10:22:14 +0000 |
commit | b217a77dac8c68d2ede8e8abddcec330891c4113 (patch) | |
tree | 3ca99fae62e6bd7410ad96e98b54c6d1cf9745b7 /poi-ooxml/build.gradle | |
parent | 5e212e4a33d2810228423c5546244821e8ad7915 (diff) | |
download | poi-b217a77dac8c68d2ede8e8abddcec330891c4113.tar.gz poi-b217a77dac8c68d2ede8e8abddcec330891c4113.zip |
try to fix module-info compile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/build.gradle')
-rw-r--r-- | poi-ooxml/build.gradle | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index f1d8bf2363..eb585bec80 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -20,16 +20,12 @@ import java.util.regex.Pattern configurations { runtimeClasspath { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } compileClasspath { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } broken @@ -87,21 +83,15 @@ dependencies { renderImplementation "org.apache.xmlgraphics:batik-svggen:${batikVersion}" renderImplementation("org.apache.xmlgraphics:batik-svgrasterizer:${batikVersion}") { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } renderImplementation("org.apache.xmlgraphics:batik-codec:${batikVersion}") { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } renderImplementation("org.apache.xmlgraphics:batik-bridge:${batikVersion}") { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } rendersignImplementation "org.apache.pdfbox:pdfbox:${pdfboxVersion}" @@ -109,21 +99,15 @@ dependencies { rendersignImplementation "org.apache.xmlgraphics:batik-svggen:${batikVersion}" rendersignImplementation("org.apache.xmlgraphics:batik-svgrasterizer:${batikVersion}") { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } rendersignImplementation("org.apache.xmlgraphics:batik-codec:${batikVersion}") { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } rendersignImplementation("org.apache.xmlgraphics:batik-bridge:${batikVersion}") { exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } @@ -153,9 +137,7 @@ dependencies { broken("org.apache.xmlgraphics:batik-script:${batikVersion}"){ exclude group: 'xalan', module: 'xalan' - if (jdkVersion > 8) { - exclude group: 'xml-apis', module: 'xml-apis' - } + exclude group: 'xml-apis', module: 'xml-apis' } javadocs project(':poi') |