Browse Source

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
tags/REL_5_2_4
Dominik Stadler 1 year ago
parent
commit
c8c06d1ec0

+ 6
- 0
build.gradle View File

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

+ 0
- 4
poi-examples/build.gradle View File

@@ -43,10 +43,6 @@ dependencies {
}
}
testImplementation project(path: ':poi', configuration: 'tests')

if (SAXON_TEST) {
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
}
}

final String MODULE_NAME = 'org.apache.poi.examples'

+ 0
- 4
poi-excelant/build.gradle View File

@@ -45,10 +45,6 @@ dependencies {
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.6'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"

if (SAXON_TEST) {
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
}
}

final String MODULE_NAME = 'org.apache.poi.excelant'

+ 0
- 4
poi-integration/build.gradle View File

@@ -78,10 +78,6 @@ dependencies {
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.6'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"

if (SAXON_TEST) {
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
}
}

final String MODULE_NAME = 'org.apache.poi.stress'

+ 0
- 4
poi-ooxml/build.gradle View File

@@ -127,10 +127,6 @@ dependencies {
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:2.0.6'

if (SAXON_TEST) {
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
}

broken("org.apache.xmlgraphics:batik-script:${batikVersion}"){
exclude group: 'xalan', module: 'xalan'
exclude group: 'xml-apis', module: 'xml-apis'

+ 0
- 4
poi-scratchpad/build.gradle View File

@@ -43,10 +43,6 @@ dependencies {
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"

if (SAXON_TEST) {
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
}

javadocs project(':poi')
javadocs project(':poi-ooxml')
}

+ 0
- 6
poi/build.gradle View File

@@ -50,12 +50,6 @@ dependencies {
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"

if (SAXON_TEST) {
testRuntimeOnly("net.sf.saxon:Saxon-HE:${saxonVersion}") {
exclude group: 'xml-apis', module: 'xml-apis'
}
}

// needed for locating the external references
javadocs project(':poi-ooxml')
javadocs project(':poi-scratchpad')

Loading…
Cancel
Save