xxfast
05/19/2022, 8:37 AMCould 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 🤔kpgalligan
05/19/2022, 9:30 AMkpgalligan
05/19/2022, 9:31 AMdawidhyzy
05/15/2023, 10:43 AMlogin-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
Didier Villevalois
10/07/2023, 12:43 PMco.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:
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?johannes
10/24/2023, 6:08 PMjohannes
10/24/2023, 6:18 PM