ursus
02/22/2025, 5:51 PMjvm
target
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`sjw
02/22/2025, 6:12 PMjw
02/22/2025, 6:12 PMjw
02/22/2025, 6:13 PMursus
02/22/2025, 6:18 PMursus
02/22/2025, 6:32 PMmainClass.set("foo.MainKt")
?