mirror of https://github.com/apache/poi.git
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
This commit is contained in:
parent
4c1f59d85c
commit
c8c06d1ec0
|
@ -172,6 +172,12 @@ subprojects {
|
||||||
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
|
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
|
||||||
testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}"
|
testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}"
|
||||||
testImplementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
|
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 {
|
java {
|
||||||
|
|
|
@ -43,10 +43,6 @@ dependencies {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
testImplementation project(path: ':poi', configuration: 'tests')
|
testImplementation project(path: ':poi', configuration: 'tests')
|
||||||
|
|
||||||
if (SAXON_TEST) {
|
|
||||||
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final String MODULE_NAME = 'org.apache.poi.examples'
|
final String MODULE_NAME = 'org.apache.poi.examples'
|
||||||
|
|
|
@ -45,10 +45,6 @@ dependencies {
|
||||||
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
||||||
testImplementation 'org.slf4j:slf4j-simple:2.0.6'
|
testImplementation 'org.slf4j:slf4j-simple:2.0.6'
|
||||||
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
||||||
|
|
||||||
if (SAXON_TEST) {
|
|
||||||
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final String MODULE_NAME = 'org.apache.poi.excelant'
|
final String MODULE_NAME = 'org.apache.poi.excelant'
|
||||||
|
|
|
@ -78,10 +78,6 @@ dependencies {
|
||||||
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
||||||
testImplementation 'org.slf4j:slf4j-simple:2.0.6'
|
testImplementation 'org.slf4j:slf4j-simple:2.0.6'
|
||||||
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
||||||
|
|
||||||
if (SAXON_TEST) {
|
|
||||||
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final String MODULE_NAME = 'org.apache.poi.stress'
|
final String MODULE_NAME = 'org.apache.poi.stress'
|
||||||
|
|
|
@ -127,10 +127,6 @@ dependencies {
|
||||||
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl:${log4jVersion}"
|
||||||
testImplementation 'org.slf4j:slf4j-simple:2.0.6'
|
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}"){
|
broken("org.apache.xmlgraphics:batik-script:${batikVersion}"){
|
||||||
exclude group: 'xalan', module: 'xalan'
|
exclude group: 'xalan', module: 'xalan'
|
||||||
exclude group: 'xml-apis', module: 'xml-apis'
|
exclude group: 'xml-apis', module: 'xml-apis'
|
||||||
|
|
|
@ -43,10 +43,6 @@ dependencies {
|
||||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
||||||
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
||||||
|
|
||||||
if (SAXON_TEST) {
|
|
||||||
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
|
|
||||||
}
|
|
||||||
|
|
||||||
javadocs project(':poi')
|
javadocs project(':poi')
|
||||||
javadocs project(':poi-ooxml')
|
javadocs project(':poi-ooxml')
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,12 +50,6 @@ dependencies {
|
||||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
||||||
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
|
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
|
// needed for locating the external references
|
||||||
javadocs project(':poi-ooxml')
|
javadocs project(':poi-ooxml')
|
||||||
javadocs project(':poi-scratchpad')
|
javadocs project(':poi-scratchpad')
|
||||||
|
|
Loading…
Reference in New Issue