Chris B
01/25/2025, 9:23 PMbuild.gradle.kts
I'm supposed to editing. Second, it says test
and useJUnitPlatform
are unresolved references. How is this supposed to work?Vampire
01/25/2025, 9:53 PMChris B
01/25/2025, 9:55 PMcomposeApp
directory. I have tried adding the code to both. Neither works.Chris B
01/25/2025, 9:56 PMVampire
01/25/2025, 9:57 PMThe top build script is apparently just to disable a bunch of plugins which the lower build script enables.
Unlikely, as that is not possible and does not make any sense either :-)
Chris B
01/25/2025, 9:58 PMplugins {
// this is necessary to avoid the plugins to be loaded multiple times
// in each subproject's classloader
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.androidLibrary) apply false
...
Chris B
01/25/2025, 9:59 PMChris B
01/25/2025, 10:03 PMplugins {
kotlin("jvm") version "2.1.0"
}
section.Vampire
01/25/2025, 11:39 PMVampire
01/25/2025, 11:41 PMVampire
01/25/2025, 11:42 PMtest
would then be jvmTest
for example for the JVM part of the KMP projectVampire
01/25/2025, 11:43 PMVampire
01/25/2025, 11:44 PMkotlin {
jvm {
val test by testRuns.existing {
executionTask {
useJUnitPlatform()
}
}
}
}
Chris B
01/26/2025, 9:28 AMChris B
01/26/2025, 9:31 AMChris B
01/26/2025, 9:32 AMChrimaeon
01/26/2025, 11:11 AMChrimaeon
01/26/2025, 11:12 AMChrimaeon
01/26/2025, 11:14 AMChris B
01/26/2025, 11:14 AMChrimaeon
01/26/2025, 11:17 AMChris B
01/26/2025, 11:19 AMtapchicoma
01/27/2025, 8:05 AMSarah Haggarty
01/27/2025, 11:42 AMChris B
01/27/2025, 11:42 AMSarah Haggarty
01/27/2025, 11:42 AMChris B
01/27/2025, 11:47 AMSarah Haggarty
01/27/2025, 11:50 AMChris B
01/27/2025, 11:51 AMChris B
01/27/2025, 11:53 AMSarah Haggarty
01/27/2025, 12:05 PMSarah Haggarty
02/10/2025, 3:28 PM