Hi guys. Trying to use touchlab's kermit-koin, but...
# multiplatform
x
Hi guys. Trying to use touchlab's kermit-koin, but im running into this
Copy code
Could not resolve org.jetbrains.kotlin:kotlin-test:1.6.20.
Required by:
    project :login > co.touchlab:kermit-koin:1.1.2 > co.touchlab:kermit-koin-jvm:1.1.2
    project :login > co.touchlab:kermit-koin:1.1.2 > co.touchlab:kermit-koin-jvm:1.1.2 > org.jetbrains.kotlin:kotlin-test-junit:1.6.20
i dont get why there's a test dependency here 🤔
k
Hmm. We've had issues with the publishing of that specific module. We'll have to take a look
d
I have similar issue with RC4
Copy code
login-multiplatform:jvmTest: Could not resolve org.jetbrains.kotlin:kotlin-test-junit:1.8.10.
Required by:
    project : > co.touchlab:kermit:2.0.0-RC4 > co.touchlab:kermit-jvm:2.0.0-RC4
d
@kpgalligan I have a similar issue trying to bump Kermit to 2.0.1 (from version 1.1.3) with Kotlin 1.9.10. It seems that
co.touchlab:kermit-jvm:2.0.1
depends on
org.jetbrains.kotlin:kotlin-test-junit
. I can see where this is specified in Kermit's build files: https://github.com/touchlab/Kermit/blob/main/kermit/build.gradle.kts#L92 So I get the following errors because I also use
org.jetbrains.kotlin:kotlin-test-junit5:1.9.10
in my tests:
Copy code
Execution failed for task ':kzmq-cio:jvmTest'.
> Could not resolve all files for configuration ':kzmq-cio:jvmTestRuntimeClasspath'.
   > Could not resolve org.jetbrains.kotlin:kotlin-test-junit5:1.9.10.
     Required by:
         project :kzmq-cio > org.jetbrains.kotlin:kotlin-test:1.9.10
      > Module 'org.jetbrains.kotlin:kotlin-test-junit5' has been rejected:
           Cannot select module with conflict on capability 'org.jetbrains.kotlin:kotlin-test-framework-impl:1.9.10' also provided by [org.jetbrains.kotlin:kotlin-test-junit:1.9.10(junitRuntime)]
   > Could not resolve org.jetbrains.kotlin:kotlin-test-junit:1.9.10.
     Required by:
         project :kzmq-cio > co.touchlab:kermit:2.0.1 > co.touchlab:kermit-jvm:2.0.1
      > Module 'org.jetbrains.kotlin:kotlin-test-junit' has been rejected:
           Cannot select module with conflict on capability 'org.jetbrains.kotlin:kotlin-test-framework-impl:1.9.10' also provided by [org.jetbrains.kotlin:kotlin-test-junit5:1.9.10(junit5Runtime)]
Is it intended for
jvmMain
source-set to include
kotlin-test-junit
or should I open a ticket?
j
I still get the error, are there any news about this? Or did you create a ticket?