From 53599d84a70d3907f3206356628800c028824ab9 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 22 Jan 2022 06:58:34 +0000 Subject: [PATCH] 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 --- poi-excelant/build.gradle | 1 + poi-integration/build.gradle | 1 + poi-ooxml/build.gradle | 1 + 3 files changed, 3 insertions(+) diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index e31baeed0a..94834f7108 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -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) { diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle index fafed12f3c..031f8b9a9c 100644 --- a/poi-integration/build.gradle +++ b/poi-integration/build.gradle @@ -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) { diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index ad07479fc2..54bdd07456 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -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}" -- 2.39.5