Wut ```Execution failed for task ':compileTestKotl...
# koin
r
Wut
Copy code
Execution failed for task ':compileTestKotlin'.
> Could not resolve all files for configuration ':testCompileClasspath'.
   > Could not resolve org.jetbrains.kotlin:kotlin-test-junit5:1.8.10.
     Required by:
         project :
      > 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.8.10' also provided by [org.jetbrains.kotlin:kotlin-test-junit:1.7.21(junitApi)]
   > Could not resolve org.jetbrains.kotlin:kotlin-test-junit:1.7.21.
     Required by:
         project : > io.insert-koin:koin-test:3.3.3 > io.insert-koin:koin-test-jvm:3.3.3
      > 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.7.21' also provided by [org.jetbrains.kotlin:kotlin-test-junit5:1.8.10(junit5Api)]
👀 1
Why is
koin-test-junit5
pulling
kotlin-test-junit
Had tests failing because they used some Junit4 annotations instead of Junit5. Decided to cleanup dependencies and update project.
I had no dependency on Junit4… But it looks like
koin-test-junit5
somehow has one.
I did this to prevent Junit4 use and fix build, but I don't like it.
Copy code
testImplementation(libs.bundles.test) {
        exclude("junit", "junit")
        exclude("org.jetbrains.kotlin", "kotlin-test-junit")
    }
a
project is perhaps not yet ready for Kotlin 1.8
koin 3.3 is running against Kotlin 1.7.x
koin 3.4 is coming soon