Skip to content

Commit

Permalink
[cuebot] Fix for bootRun failure running. (#1569)
Browse files Browse the repository at this point in the history
**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 <[email protected]>
  • Loading branch information
lithorus and DiegoTavares authored Nov 6, 2024
1 parent 12f3a41 commit be13b4f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cuebot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit be13b4f

Please sign in to comment.