Closed hodgdon closed 7 months ago
Duplicates of #383.
@kpgalligan Is there a reason the main source-set depends on JUnit? This is blocking us from moving to 2.0 version.
This also blocks LeakCanary from running on debug builds.
This is a long running issue, we have an exclude rule in our dependency specification for this, it causes our gradle build and tests to fail. FYI this is our exlude statement:
implementation("co.touchlab:kermit:2.0.2") {
exclude(group = "org.jetbrains.kotlin", module = "kotlin-test-junit")
}
Fixed in version 2.0.3
implementation(kotlin("test-junit"))
should be applied to test configuration rather than main. https://github.com/touchlab/Kermit/blob/main/kermit/build.gradle.kts#L100C17-L100C53