Replies: 3 comments
-
How do you create the project? I think you can use the default setting about this : application {
mainClass = "MainKt"
} The path where |
Beta Was this translation helpful? Give feedback.
-
You can also find a list of example projects in the README.md#Examples section too. |
Beta Was this translation helpful? Give feedback.
-
Thanks. Somehow I lost this association in my project but I'm not bothering how, I just rolled back one commit. Anyhow, for the interested, in this post there are more option as to why and how to name the main class: |
Beta Was this translation helpful? Give feedback.
-
Question from newcomer. It seems the preferred method in the samples to start an application is to use
fun main() = application {
In this case, what should I put in my
build.gradle.kts
:I have so far only found one complete app, https://github.com/hydraulic-software/eton-desktop, but there an external library is providing an application class that is used.
Beta Was this translation helpful? Give feedback.
All reactions