Author: fanningpj
Date: Mon Jul  1 10:18:00 2024
New Revision: 1918772

URL: http://svn.apache.org/viewvc?rev=1918772&view=rev
Log:
rework xml-apis dependency

Modified:
    xmlbeans/trunk/build.gradle

Modified: xmlbeans/trunk/build.gradle
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/build.gradle?rev=1918772&r1=1918771&r2=1918772&view=diff
==============================================================================
--- xmlbeans/trunk/build.gradle (original)
+++ xmlbeans/trunk/build.gradle Mon Jul  1 10:18:00 2024
@@ -124,10 +124,6 @@ dependencies {
     implementation "com.github.javaparser:javaparser-core:${javaparserVersion}"
     implementation 
"com.github.javaparser:javaparser-symbol-solver-core:${javaparserVersion}"
 
-    // only for java 8
-    if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
-        implementation 'xml-apis:xml-apis:1.4.01'
-    }
     // only necessary to compile against JDK8 internals - for Java9+ there's a 
multimodule implementation
     implementation 'com.sun.org.apache.xml.internal:resolver:20050927'
 
@@ -140,11 +136,7 @@ dependencies {
 //    testImplementation "org.apache.ant:ant-junit:${antVersion}"
 //    testImplementation "org.apache.ant:ant-junit4:${antVersion}"
     testImplementation 'org.hamcrest:hamcrest:2.2'
-    testImplementation('xerces:xercesImpl:2.12.2') {
-        if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
-            exclude group: 'xml-apis', module: 'xml-apis'
-        }
-    }
+    testImplementation 'xerces:xercesImpl:2.12.2'
     testRuntimeOnly 'org.xmlresolver:xmlresolver:4.6.4'
 
     // maven plugin dependencies



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

Reply via email to