Skip to content

Commit 05781c3

Browse files
Backport to branch(3) : Exclude slf4j-api from alloydb dependency to correct logging behaviour (#3129)
Co-authored-by: Pham Ba Thong <thong8111996@gmail.com>
1 parent 38f4774 commit 05781c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ dependencies {
188188
exclude group: 'org.slf4j', module: 'slf4j-api'
189189
}
190190
// The Java connector library used to establish simply a secure connection to AlloyDB on GCP
191-
implementation("com.google.cloud:alloydb-jdbc-connector:${alloyDbJdbcConnectorVersion}")
191+
implementation("com.google.cloud:alloydb-jdbc-connector:${alloyDbJdbcConnectorVersion}") {
192+
exclude group: 'org.slf4j', module: 'slf4j-api'
193+
}
192194
implementation "org.apache.commons:commons-text:${commonsTextVersion}"
193195
testImplementation platform("org.junit:junit-bom:${junitVersion}")
194196
testImplementation 'org.junit.jupiter:junit-jupiter'

0 commit comments

Comments
 (0)