From 0628f9586555ff27be5c1c9b37faa16fade58279 Mon Sep 17 00:00:00 2001 From: Pham Ba Thong Date: Fri, 7 Nov 2025 20:07:35 +0900 Subject: [PATCH] Exclude slf4j-api from alloydb dependency to correct logging behaviour (#3119) --- core/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/build.gradle b/core/build.gradle index 1b86bff0df..eee0fe91e6 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -188,7 +188,9 @@ dependencies { exclude group: 'org.slf4j', module: 'slf4j-api' } // The Java connector library used to establish simply a secure connection to AlloyDB on GCP - implementation("com.google.cloud:alloydb-jdbc-connector:${alloyDbJdbcConnectorVersion}") + implementation("com.google.cloud:alloydb-jdbc-connector:${alloyDbJdbcConnectorVersion}") { + exclude group: 'org.slf4j', module: 'slf4j-api' + } implementation "org.apache.commons:commons-text:${commonsTextVersion}" testImplementation platform("org.junit:junit-bom:${junitVersion}") testImplementation 'org.junit.jupiter:junit-jupiter'