Unknown dependency - kotlinx-coroutines-core-jvm
skyerday opened this issue · 1 comments
skyerday commented
I met a build time issue with class duplicated with kotlinx-coroutines-core-jvm
and kotlinx-coroutines-core
. And I list the dependencies
./gradlew :app:dependencies
| | | +--- com.babylon.certificatetransparency:certificatetransparency-android:0.3.0
| | | | +--- com.babylon.certificatetransparency:certificatetransparency:0.3.0
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.0
| | | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.0 (*)
| | | | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.0 (*)
| | | | | +--- org.bouncycastle:bcpkix-jdk15to18:1.66
| | | | | | \--- org.bouncycastle:bcprov-jdk15to18:1.66
| | | | | +--- org.bouncycastle:bcprov-jdk15to18:1.66
| | | | | +--- org.bouncycastle:bctls-jdk15to18:1.66
| | | | | | \--- org.bouncycastle:bcprov-jdk15to18:1.66
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.3.9
| | | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.0 (*)
| | | | | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.0
| | | | | +--- com.squareup.retrofit2:retrofit:2.9.0 (*)
| | | | | \--- com.squareup.retrofit2:converter-gson:2.9.0
| | | | | +--- com.squareup.retrofit2:retrofit:2.9.0 (*)
| | | | | \--- com.google.code.gson:gson:2.8.5
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.0 (*)
| | | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9 (*)
And I also google org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm
but found nothing related. For now, I try these to workaround class duplicated issue
implementation('com.babylon.certificatetransparency:certificatetransparency-android:0.3.0') {
exclude group: 'com.babylon.certificatetransparency', module: 'certificatetransparency'
}
implementation('com.babylon.certificatetransparency:certificatetransparency:0.3.0') {
exclude group: 'org.jetbrains.kotlinx', module: 'kotlinx-coroutines-core-jvm'
}
skyerday commented
I upgrade gradle to 6.1.1 and android gradle plugin to 4.0.1, the duplicated issue is gone.