Author: fanningpj
Date: Mon Dec 26 10:22:14 2022
New Revision: 1906213

URL: http://svn.apache.org/viewvc?rev=1906213&view=rev
Log:
try to fix module-info compile

Modified:
    poi/trunk/poi-ooxml/build.gradle

Modified: poi/trunk/poi-ooxml/build.gradle
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/build.gradle?rev=1906213&r1=1906212&r2=1906213&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/build.gradle (original)
+++ poi/trunk/poi-ooxml/build.gradle Mon Dec 26 10:22:14 2022
@@ -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')



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to