Umesh Solanki
04/16/2025, 8:19 AMplugins -> kotlin("multiplatform") version "2.1.20"
kotlin {
jvm {
binaries {
executable {
}
}
}
js(IR) {
binaries.executable()
browser {
commonWebpackConfig {}
}
}
.....
e: 'java' Gradle plugin is not compatible with 'org.jetbrains.kotlin.multiplatform' plugin.
Consider adding a new subproject with 'java' plugin where the KMP project is added as a dependency.
e: 'application' (also applies 'java' plugin) Gradle plugin is not compatible with 'org.jetbrains.kotlin.multiplatform' plugin.
Consider the new KMP/JVM binaries DSL as a replacement: https://kotl.in/jvm-binaries-dslVampire
04/16/2025, 8:26 AMapplication
plugin in a KMP project and this is not compatible anymore.
Either use the distribution
plugin directly, emulating what the application
plugin did, or use that new incubating KMP functionality.Umesh Solanki
04/16/2025, 9:49 AMtapchicoma
04/16/2025, 9:56 AMVampire
04/16/2025, 10:05 AMio.ktor.plugin
applies the application
plugin for youVampire
04/16/2025, 10:08 AMtapchicoma
04/16/2025, 10:08 AMtapchicoma
04/16/2025, 10:15 AMBruce Hamilton
04/17/2025, 6:06 AM