Skip to content

Commit

Permalink
Merge pull request #664 from metafacture/649-preventMultipleSLF4JBind…
Browse files Browse the repository at this point in the history
…ingsWarning

Prevent multiple SLF4J bindings warning.
  • Loading branch information
blackwinter authored Feb 6, 2025
2 parents 84c958a + 51626cf commit b85c49c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion metafacture-runner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ dependencies {
// class loader which was used to load the classes of the slf4j-api. Until
// a solution is found for this problem, the binding need to be placed on the
// class path:
runtimeOnly "org.slf4j:slf4j-log4j12:${versions.slf4j}"
runtimeOnly("org.slf4j:slf4j-log4j12:${versions.slf4j}") {
// Prevent multiple SLF4J bindings warning:
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
}

// The following dependencies are placed in the "provided" scope to prevent
// them from being included in the class path but still have them available
Expand Down

0 comments on commit b85c49c

Please sign in to comment.