deviant
10/01/2021, 10:14 AMcommonTest
? what platform will run it?Grégory Lureau
10/01/2021, 10:16 AMdeviant
10/01/2021, 10:17 AMGrégory Lureau
10/01/2021, 10:19 AMdeviant
10/01/2021, 10:20 AMdeviant
10/01/2021, 10:20 AMval commonTest by getting {
dependsOn(commonMain)
...
didn't helpGrégory Lureau
10/01/2021, 10:21 AMval commonTest by gettingit's enough
Grégory Lureau
10/01/2021, 10:22 AMdeviant
10/01/2021, 10:22 AMMatti MK
10/01/2021, 10:32 AMcommonTest
and then gradle task shared:test
to run them.
Deps are test-common
and test-annotations-common
deviant
10/01/2021, 10:33 AMMatti MK
10/01/2021, 10:34 AMcommonMain
, no test
deps theredeviant
10/01/2021, 10:34 AMMatti MK
10/01/2021, 10:35 AMMatti MK
10/01/2021, 10:37 AMcommonTest
sources from `commonMain`: seems like it works. I don’t have a dependsOn
even 🤔
val commonTest by getting {
dependencies {
implementation(kotlin(Deps.Kotlin.Test.common))
implementation(kotlin(Deps.Kotlin.Test.annotations))
}
}
Grégory Lureau
10/13/2021, 1:43 PMMatti MK
10/14/2021, 5:11 AM