starke
12/08/2023, 9:43 PMio.kotest.multiplatform
plugin to my shared
build file so that I can use kotest in commonTest
. for example: Unresolved reference: androidTarget
kotlin {
iosX64()
iosArm64()
iosSimulatorArm64()
androidTarget {
compilations.all {
kotlinOptions.jvmTarget = libs.versions.androidJvm.get()
}
}
jvm()
sourceSets {
...
commonTest.dependencies {
implementation(libs.kotest.assertions.core)
implementation(libs.kotest.framework.engine)
}
jvmTest.dependencies {
implementation(libs.kotest.runner.junit5)
}
}
}
starke
12/08/2023, 9:44 PMandroidTarget
block, it complains about commonTest.dependencies {
so I’m guessing the multiplatform plugin probably isn’t updated to work with this new structure yet 🤔