Skip to content

Commit b85c49c

Browse files
authored
Merge pull request #664 from metafacture/649-preventMultipleSLF4JBindingsWarning
Prevent multiple SLF4J bindings warning.
2 parents 84c958a + 51626cf commit b85c49c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

metafacture-runner/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ dependencies {
7373
// class loader which was used to load the classes of the slf4j-api. Until
7474
// a solution is found for this problem, the binding need to be placed on the
7575
// class path:
76-
runtimeOnly "org.slf4j:slf4j-log4j12:${versions.slf4j}"
76+
runtimeOnly("org.slf4j:slf4j-log4j12:${versions.slf4j}") {
77+
// Prevent multiple SLF4J bindings warning:
78+
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
79+
}
7780

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

0 commit comments

Comments
 (0)