simon.vergauwen
05/08/2024, 9:25 AMMain.kt
in commonMain
(no packages) with this Gradle file, but I am running into "Error: Could not find or load main class MainKt Caused by: java.lang.ClassNotFoundException: MainKt". I checked the wizard, but it's all specifically for Compose. The IntelliJ Wizard also seem to have an option in this direction.simon.vergauwen
05/08/2024, 9:39 AMmainRun
in the jvm { }
DSL but doesn't seem to work.
jvm {
mainRun { mainClass = "MainKt" }
withJava()
}
simon.vergauwen
05/08/2024, 1:13 PMmainRun
, it seems quite some stuff changed in Gradle since last having to update this project.