@@ -38,6 +38,12 @@ wrapper {
3838 gradleVersion = ' 6.4.1'
3939}
4040
41+ shadowJar {
42+ dependencies {
43+ exclude(dependency(' org.slf4j:slf4j-api:.*' ))
44+ }
45+ }
46+
4147multitool {
4248 relocates + = [
4349 ' com.github.dockerjava' : ' repackaged.com.arakelian.docker.junit.com.github.dockerjava' ,
@@ -89,21 +95,17 @@ dependencies {
8995
9096 // easy-to-use library for communicating with Docker host; we shadow the library
9197 // to avoid downstream compatibility issues
92- shadow (' com.github.docker-java:docker-java-api:3.2.1' ) {
93- exclude module : ' slf4j-api'
94- }
95- shadow (' com.github.docker-java:docker-java-core:3.2.1' ) {
96- exclude module : ' slf4j-api'
97- }
98+ shadow ' com.github.docker-java:docker-java-api:3.2.1'
99+ shadow ' com.github.docker-java:docker-java-core:3.2.1'
98100 shadow ' com.github.docker-java:docker-java-transport-okhttp:3.2.1'
99101
100102 // logging
101103 testCompile ' org.apache.logging.log4j:log4j-api:2.13.3'
102104 testCompile ' org.apache.logging.log4j:log4j-core:2.13.3'
103105 testCompile ' org.apache.logging.log4j:log4j-slf4j-impl:2.13.3'
104- testCompile ' org.slf4j:jcl-over-slf4j:1.7.29 '
105- testCompile ' org.slf4j:jul-to-slf4j:1.7.29 '
106- compile ' org.slf4j:slf4j-api:1.7.29 '
106+ testCompile ' org.slf4j:jcl-over-slf4j:1.7.30 '
107+ testCompile ' org.slf4j:jul-to-slf4j:1.7.30 '
108+ compile ' org.slf4j:slf4j-api:1.7.30 '
107109
108110 // for unit testing
109111 testCompile ' com.arakelian:retry:3.8.0'
0 commit comments