I’ve been working on a kotlin multiplatform library for a while now and I started using
kermit logger for it. Everything builds well the only concern I have are the following warnings I am getting
Copy code
Unable to resolve dependency for ':@debug/compileClasspath': Could not resolve co.touchlab:kermit:1.0.2.
Show Details
Affected Modules: AddressLibrary
Unable to resolve dependency for ':@debugUnitTest/compileClasspath': Could not resolve co.touchlab:kermit:1.0.2.
Show Details
Affected Modules: AddressLibrary
Unable to resolve dependency for ':@debugAndroidTest/compileClasspath': Could not resolve co.touchlab:kermit:1.0.2.
Show Details
Affected Modules: AddressLibrary
Can anyone help me with any way on how to make them go away or why they are coming?
Rahul Rawat
12/05/2021, 9:31 AM
Ok so for some reason I am unable to add kermit to my kmp project. Still unable to understand what I am doing wrong.
r
russhwolf
12/05/2021, 4:16 PM
I think it's due to this issue. You can try the library consumer workarounds there (ie bumping Kotlin, Gradle, and/or AGP versions) or use Kermit 1.0.0 which is largely the same but published with Kotlin 1.5.31