From be13b4fd604105154d24b2a99128be01021ae8b0 Mon Sep 17 00:00:00 2001 From: Jimmy Christensen Date: Wed, 6 Nov 2024 22:32:26 +0100 Subject: [PATCH] [cuebot] Fix for bootRun failure running. (#1569) **Summarize your change.** This removes a implementation in the gradle setup that conflicts with another implementation When running `./gradlew bootRun` it will fail with the following message : ```bash SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/jimmy/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-log4j12/1.7.26/12f5c685b71c3027fd28bcf90528ec4ec74bf818/slf4j-log4j12-1.7.26.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/jimmy/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.3/7c4f3c474fb2c041d8028740440937705ebb473a/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] ``` This removed one of the bindings so they don't conflict with each other. Co-authored-by: Diego Tavares --- cuebot/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/cuebot/build.gradle b/cuebot/build.gradle index 0a6d08c1a..ce6d2a3b7 100644 --- a/cuebot/build.gradle +++ b/cuebot/build.gradle @@ -46,7 +46,6 @@ dependencies { implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.2' implementation group: 'com.google.protobuf', name: 'protobuf-java', version: "${protobufVersion}" implementation group: 'log4j', name: 'log4j', version: '1.2.17' - implementation group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.26' implementation group: 'io.sentry', name: 'sentry-log4j2', version: '7.11.0' implementation group: 'io.prometheus', name: 'simpleclient', version: '0.16.0' implementation group: 'io.prometheus', name: 'simpleclient_servlet', version: '0.16.0'