https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

Arkadii Ivanov

07/02/2019, 10:15 PM
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

Alexey Belkov [JB]

07/04/2019, 9:29 AM
Does it help if you add the dependency to
commonTest
also?
a

Arkadii Ivanov

07/04/2019, 5:29 PM
Problem was solved by adding
test-junit
and
test-js
dependencies to
jvmMain
and
jsMain
source sets respectively.