is there a reason why I can't have `kotlin-test` a...
# multiplatform
m
is there a reason why I can't have
kotlin-test
as an
implementation
dependency in a common module?
Copy code
dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-common:$kotlin_version"
    implementation "org.jetbrains.kotlin:kotlin-test-common:$kotlin_version"
}
IntelliJ raises no error when using e.g.
assertEquals
, but Gradle says
Copy code
Unresolved reference: test
Unresolved reference: assertEquals
etc, where the first error is on the import statement for
kotlin.test.*
i
Looks like you're missing dependency on the platform
kotlin-test
in your platform module. What is the gradle task that fails with error?