From 536169900e04b14e1c0f7cb54bb9301ca854cb28 Mon Sep 17 00:00:00 2001 From: Hoo <18637171812@163.com> Date: Fri, 27 Dec 2024 16:21:26 +0800 Subject: [PATCH] [CALCITE-6747] Multiple SLF4J bindings in Spark unit test --- spark/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spark/build.gradle.kts b/spark/build.gradle.kts index b1983443ac1..b194e0fd5e6 100644 --- a/spark/build.gradle.kts +++ b/spark/build.gradle.kts @@ -20,6 +20,8 @@ dependencies { api("org.apache.spark:spark-core_2.10") { exclude("org.slf4j", "slf4j-log4j12") .because("conflicts with log4j-slf4j-impl") + exclude("org.slf4j", "slf4j-reload4j") + .because("conflicts with log4j-slf4j-impl") } implementation("com.google.guava:guava") @@ -31,5 +33,5 @@ dependencies { runtimeOnly("xerces:xercesImpl") testImplementation(project(":testkit")) - testRuntimeOnly("org.slf4j:slf4j-reload4j") + testRuntimeOnly("org.apache.logging.log4j:log4j-slf4j-impl") }