try to fix module-info compile

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906213 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-12-26 10:22:14 +00:00
parent 5e212e4a33
commit b217a77dac
1 changed files with 9 additions and 27 deletions

View File

@ -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')