consul-client icon indicating copy to clipboard operation
consul-client copied to clipboard

Shaded Jar brings in excluded dependencies

Open bearrito opened this issue 7 years ago • 2 comments

Maybe this is an issue with gradle, but I still see the excluded dependencies in my dependency lists.

I have no other dependencies that pull those particular libs

shaded_jars

bearrito avatar Sep 13 '18 15:09 bearrito

never seen that before. have you tried a different version than latest?

rickfast avatar Sep 14 '18 19:09 rickfast

I'm going to mark this as a intellij issue.

gradle dependencies shows this as loading correctly

\--- com.orbitz.consul:consul-client:1.2.3
     +--- com.squareup.retrofit2:retrofit:2.3.0
     |    \--- com.squareup.okhttp3:okhttp:3.8.0 -> 3.9.0
     |         \--- com.squareup.okio:okio:1.13.0
     +--- com.squareup.retrofit2:converter-jackson:2.3.0
     |    +--- com.squareup.retrofit2:retrofit:2.3.0 (*)
     |    \--- com.fasterxml.jackson.core:jackson-databind:2.7.2 -> 2.9.5 (*)
     +--- com.squareup.okhttp3:okhttp:3.9.0 (*)
     +--- com.google.guava:guava:22.0 -> 23.6-jre (*)
     +--- com.google.code.findbugs:jsr305:1.3.9
     +--- com.fasterxml.jackson.core:jackson-annotations:2.9.5
     +--- com.fasterxml.jackson.core:jackson-core:2.9.5
     +--- com.fasterxml.jackson.core:jackson-databind:2.9.5 (*)
     +--- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.5
     |    +--- com.fasterxml.jackson.core:jackson-core:2.9.5
     |    \--- com.fasterxml.jackson.core:jackson-databind:2.9.5 (*)
     +--- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.9.5
     |    +--- com.google.guava:guava:18.0 -> 23.6-jre (*)
     |    +--- com.fasterxml.jackson.core:jackson-core:2.9.5
     |    \--- com.fasterxml.jackson.core:jackson-databind:2.9.5 (*)
     +--- org.apache.commons:commons-lang3:3.4
     \--- org.slf4j:slf4j-api:1.7.21 -> 1.7.25

with none of the other classes being loaded onto the classpath

bearrito avatar Sep 15 '18 02:09 bearrito