I added a `jvm` target ```kotlin { jvm() <---...
# multiplatform
u
I added a
jvm
target
Copy code
kotlin {
    jvm() <------- All I did
    macosArm64 {
        binaries {
            executable()
        }
    }
}
I run
./gradlew jvmJar
works fine. I run
./gradlew jvmRun
fails with
> No main class specified and classpath is not an executable jar.
so .. idk, can I get a jvm executable from the same gradle module as I do for
macosArm64
? when I apply
application
it complains about it not being compatible with KMP & I should have standalone gradle module for that which I kinda get, but then its lopsided, all native binaries are able to be produced here & jvm has to have its standalone "run" module? Odd I don' want 2 `main`s
Coming very soon
Although you still need to define the entry point twice
btw >twice you mean the
mainClass.set("foo.MainKt")
?