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 {
}
}
testImplementation project(path: ':poi', configuration: 'tests')
-
- if (SAXON_TEST) {
- testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"
- }
}
final String MODULE_NAME = 'org.apache.poi.examples'
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'
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'
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'
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')
}
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')