Resolving dependency conflict in gradle when artifact name is different

What I think you really want to do is substitute jersey-bundle for any instances of jersey-core, client, or server.

See Substituting a dependency module with a compatible replacement in the User Guide.