From 68da5eeafba73f15648835ed883f2c0c320ae02f Mon Sep 17 00:00:00 2001 From: a10zn8 Date: Wed, 23 Nov 2022 16:26:04 +0400 Subject: [PATCH] safer way to exclude excess slf4 binding --- build.gradle | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index d9c080aa..b35c4b19 100644 --- a/build.gradle +++ b/build.gradle @@ -59,11 +59,6 @@ configurations { // should be used only for generation of the stubs, the lib contains grpc classes compile.exclude group: "com.salesforce.servicelibs", module: "reactor-grpc" - - all { - exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' - } - } dependencies { @@ -110,7 +105,9 @@ dependencies { testImplementation libs.bundles.testcontainers testImplementation libs.bundles.junit - testImplementation libs.spring.boot.starter.test + testImplementation(libs.spring.boot.starter.test) { + exclude module: 'spring-boot-starter-logging' + } testImplementation libs.grpc.testing detektPlugins libs.detekt.formatting