oops (pushed send too early)
# multiplatform
m
oops (pushed send too early)
I added a
mainClass
declaration:
Copy code
application {
    mainClass = 'com.dhsdevelopments.kap.gui.Client'
}
m
Thanks very much for that, but unfortunately it's not what I'm looking for. You're using the
application
Gradle plugin w/
kotlin-jvm
, whereas for my project I'm using
kotlin-multiplatform
and trying to configure the JVM target, instead of using
kotlin-jvm
. Still, thank you for the response!!
l
My project is also multiplatform. What I do is to have a dedicated 'jvm main' project that depends on the main one, that provides the main class for the jvm version. I do the same for other backends as well (since the UI is different for each backend anyway)
m
Right, makes sense. If I can't find a way to configure it with the multiplatform plugin, I'll try out that method, thank you!