Add test-dependency on slf4j-simple to include all logs in captured test-output

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2022-01-22 06:58:34 +00:00
parent 68ce022531
commit 53599d84a7
3 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,7 @@ dependencies {
}
testImplementation 'com.google.guava:guava:31.0.1-jre'
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:1.7.32'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
if (SAXON_TEST) {

View File

@ -78,6 +78,7 @@ dependencies {
}
testImplementation project(path: ':poi-ooxml-lite-agent', configuration: 'archives')
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:1.7.32'
testRuntimeOnly "org.apiguardian:apiguardian-api:${apiGuardianVersion}"
if (SAXON_TEST) {

View File

@ -144,6 +144,7 @@ dependencies {
// prevent slf4j warnings coming from xmlsec -> slf4j-api 1.7.x dependency
// see https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/
testImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:${log4jVersion}"
testImplementation 'org.slf4j:slf4j-simple:1.7.32'
if (SAXON_TEST) {
testRuntimeOnly "net.sf.saxon:Saxon-HE:${saxonVersion}"