From 4c1f59d85c186b83723b1a6580159a8322d196ed Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 6 Jan 2023 17:41:28 +0000 Subject: [PATCH] Testing with saxon-HE: Avoid module-clash between xml.apis and java.xml git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906425 13f79535-47bb-0310-9956-ffa450edef68 --- poi/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/poi/build.gradle b/poi/build.gradle index c67e02d86a..57493d7c38 100644 --- a/poi/build.gradle +++ b/poi/build.gradle @@ -51,7 +51,9 @@ dependencies { testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}" if (SAXON_TEST) { - testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}" + testRuntimeOnly("net.sf.saxon:Saxon-HE:${saxonVersion}") { + exclude group: 'xml-apis', module: 'xml-apis' + } } // needed for locating the external references