title: Duplicate zip entry [okhttp-2.4.0.jar:com/squareup/okhttp/Address.class]
body: <p>I have android multi-project setup with okhttp as part of multiple projects</p>
  
  <p>In project A, okhttp is included in the source code.
  In project B, okhttp comes with part of a library dependency.</p>
  
  <p>When I build, I get the below error. </p>
  
  <blockquote>
    <p>Execution failed for task ':Events-Android:events:proguardFlavDebug'.
    java.io.IOException: Can't write [/Users/gatorboy/events/Events-Android/events/build/intermediates/classes-proguard/dfmobile/debug/classes.jar] (Can't read [/Users/gatorboy/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp/2.4.0/40340c0748190fe897baf7bffbc1b282734294e5/okhttp-2.4.0.jar(;;;;;;!META-INF/MANIFEST.MF)] (Duplicate zip entry [okhttp-2.4.0.jar:com/squareup/okhttp/Address.class]))</p>
  </blockquote>
  
  <p>I couldnt exclude okhttp from Project B as it is a different version compared to the okhttp source code in Project A. Is there any other way to resolve this issue?</p>
  
  <p>There are similar posts on stackoverflow but I couldn't find a solution.</p>