Hello, I'm trying to write a multiplatform module ...
# multiplatform
a
Hello, I'm trying to write a multiplatform module with testing utils which supposed to be shared across the project. I have added
test-common
dependency to
commonMain
source set but compilation fails due to
kotlin.test
package cannot be resolved. IDEA does not show any errors. What maight be the problem?
a
Does it help if you add the dependency to
commonTest
also?
a
Problem was solved by adding
test-junit
and
test-js
dependencies to
jvmMain
and
jsMain
source sets respectively.