title: This dependency gives me two versions of one jar. How do I fix this?
body: <p>I'm using Gradle for my project. One of the dependencies I have specified in my build.gradle is<br>
   <code>compile 'org.glassfish.jersey.media:jersey-media-moxy:2.0'</code></p>
  
  <p>This works fine on a normal Java application, however when I try to build it on Android I get: </p>
  
  <p>When looking at which libraries are referenced, it's clear that there's both <code>javax.inject-2.3.0-b05.jar</code> and <code>javax.inject-1.jar</code>, which I found are added by the dependency above. I'm guessing that this 'duplicate' jar is what causes the build error.  </p>
  
  <p>How do I go around this? Why does the dependency include two of the same jar? Is there a way to either make the Android version build with these two jars or to remove one of these jars?</p>