Please note: There are similar questions to this, but nothing that makes this an exact dupe.
I currently have the following Gradle dependencies:
dependencies {
compile "com.sun.jersey.contribs:jersey-apache-client4:1.18.1"
compile "com.sun.jersey:jersey-client:1.18.1"
compile "com.sun.jersey:jersey-core:1.18.1"
compile "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.3.2"
compile "org.apache.httpcomponents:httpclient:4.3.2"
compile "org.slf4j:jcl-over-slf4j:1.7.7"
}
I want to upgrade these to the 2.21
versions of Jersey, however:
- It seems that the groupName is now
org.glassfish.jersey.core
instead ofcom.sun.jersey
; and - It seems that Jersey-Client now obviates the need to explicitly declare Jersey-Core (Jersey-Core doesn't seem to exist anymore as a JAR)
- The Jersey Apache 4 Client (
jersey-apache-client4
) doesn't seem to exist in 2.x land
So I ask, what should all of my 2.21
dependencies be? Where's that Jersey/Apache client hiding out these days?