Multiplatform library setup - missing Kotlin target
I am trying to configure the build.gradle.kts for a simple Kotlin Multiplatform library with no dependencies that has only common code but the kotlin gradle plugin reports "Please initialize at least one Kotlin target in ...".
This is the build.gradle.kts:
plugins {
kotlin("multiplatform") version "1.9.22"
}
kotlin {
jvm()
mingwX64()
linuxX64()
applyDefaultHierarchyTemplate()
sourceSets {
commonMain
commonTest {
dependencies {...