title: Duplicated class Koin org.koin and io.insert-koin
body: <p>I'm using two library that have dependencies of two different versions of Koin.</p>
  <p>One of the library has <strong>org.koin:koin-android:2.0.1</strong> and the other has <strong>io.insert-koin:koin-core-jvm:3.0.1</strong> dependencies.</p>
  
  <p>At compile time I got tons of <strong>Duplicate class</strong> error as below,</p>
  <pre><code>Duplicate class org.koin.android.BuildConfig found in modules jetified-koin-android-2.0.1-runtime (org.koin:koin-android:2.0.1) and jetified-koin-android-3.0.1-runtime (io.insert-koin:koin-android:3.0.1)
  Duplicate class org.koin.android.ext.koin.KoinExtKt$androidContext$1 found in modules jetified-koin-android-2.0.1-runtime (org.koin:koin-android:2.0.1) and jetified-koin-android-3.0.1-runtime (io.insert-koin:koin-android:3.0.1)
  Duplicate class org.koin.core.scope.Scope$injectOrNull$1 found in modules jetified-koin-core-2.0.1 (org.koin:koin-core:2.0.1) and jetified-koin-core-jvm-3.0.1 (io.insert-koin:koin-core-jvm:3.0.1)
  Duplicate class org.koin.java.KoinJavaComponent$inject$1 found in modules jetified-koin-core-jvm-3.0.1 (io.insert-koin:koin-core-jvm:3.0.1) and jetified-koin-java-2.0.1 (org.koin:koin-java:2.0.1)
  ...
  </code></pre>
  <p>When I try to exclude one of them as below,</p>
  <pre><code>configurations {
      all { 
          exclude group: &quot;io.insert-koin&quot;, module: &quot;koin-android&quot;
          exclude group: &quot;io.insert-koin&quot;, module: &quot;koin-core-jvm&quot;
      }
  }
  </code></pre>
  <p>I got NoClassDefFoundError at runtime on the relevant one.</p>
  <p>When exclude <strong>org.koin:koin-android:2.0.1</strong></p>
  <pre><code>Caused by: java.lang.ClassNotFoundException: Didn't find class &quot;org.koin.core.KoinComponent&quot; on path: DexPathList[[zip file &quot;/data/app/...
  </code></pre>
  <p>When exclude <strong>io.insert-koin:koin-core-jvm:3.0.1</strong></p>
  <pre><code>Caused by: java.lang.ClassNotFoundException: Didn't find class &quot;org.koin.core.component.KoinComponent&quot; on path: DexPathList[[zip file &quot;/data/app/...
  </code></pre>
  <p>How can I get to use both libraries?</p>