title: Gradle: Multiple dependences require slf4j
body: <p>I have two libs in my gradle file that require slf4j. Pusher and Gimbal. Both of these jars have slf4j in them. So even when I tell gradle to ignore them (multiDexEnabled true) I still receive a namespacing error.</p>
  
  <p>Does anyone know how to fix this?  </p>
  
  <pre><code>com.android.dex.DexException: Multiple dex files define Lorg/slf4j/impl/StaticLoggerBinder;
  at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
  at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
  at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
  at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
  at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
  at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)
  at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
  at com.android.dx.command.dexer.Main.run(Main.java:277)
  at com.android.dx.command.dexer.Main.main(Main.java:245)
  at com.android.dx.command.Main.main(Main.java:106)
  Error:Execution failed for task ':app:dexDebug'.
  com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2
  </code></pre>
  
  <p>The error I receive with (multiDexEnabled true): </p>
  
  <pre><code>Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
  &gt;java.util.zip.ZipException: duplicate entry: org/slf4j/helpers/BasicMarker.class
  </code></pre>