CLOVIS
12/13/2023, 4:05 PMbuild.gradle.kts
looks like this:
plugins {
id("com.android.application") version "8.1.4"
kotlin("multiplatform") version "1.9.20"
id("org.jetbrains.compose") version "1.5.10"
}
kotlin {
androidTarget {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
}
and any Gradle invocation crashes with
The Android Gradle plugin was applied without creating a corresponding 'android()' Kotlin Target:
plugins {
id("com.android.application")
kotlin("multiplatform")
}
kotlin {
androidTarget() // <-- please register this Android target
}
``````
and, well, you tell me, but I'm pretty sure I did what it wants.CLOVIS
12/13/2023, 4:16 PMapply false
'd in the root build.gradle.kts 😐