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
This commit is contained in:
Dominik Stadler 2023-01-06 17:41:28 +00:00
parent e3924e5d0b
commit 4c1f59d85c
1 changed files with 3 additions and 1 deletions

View File

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