aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2023-01-06 19:58:45 +0000
committerDominik Stadler <centic@apache.org>2023-01-06 19:58:45 +0000
commitc8c06d1ec0bf9619af1a455513cf1dfb8aa6a0e4 (patch)
tree34dff79e99b4d2737c74b096f9dafb2f7886fcca /build.gradle
parent4c1f59d85c186b83723b1a6580159a8322d196ed (diff)
downloadpoi-c8c06d1ec0bf9619af1a455513cf1dfb8aa6a0e4.tar.gz
poi-c8c06d1ec0bf9619af1a455513cf1dfb8aa6a0e4.zip
Saxon-HE is included in more place, combine these into the main gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index f681fc9417..4fd45217f8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -172,6 +172,12 @@ subprojects {
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}"
testImplementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
+
+ if (SAXON_TEST) {
+ testRuntimeOnly("net.sf.saxon:Saxon-HE:${saxonVersion}") {
+ exclude group: 'xml-apis', module: 'xml-apis'
+ }
+ }
}
java {