Richard Glen
11/09/2023, 12:56 AMVampire
11/09/2023, 8:13 AMmainClass
, or jvmRun.mainClass
.Richard Glen
11/09/2023, 9:04 AMmainClass
directly somewhere? I’m already doing the latter part (see my reply in the message I forwarded).Vampire
11/09/2023, 9:05 AMgradle.properties
, or via -P
or -D
and so on.Richard Glen
11/09/2023, 9:09 AMVampire
11/09/2023, 9:10 AMRichard Glen
11/09/2023, 9:13 AMCLOVIS
11/09/2023, 10:04 AMapplication
plugin: https://gitlab.com/opensavvy/notes/kotlin-fullstack/-/blob/main/app-cli/build.gradle.kts?ref_type=heads#L35
(notice the jvm { withJava() }
, it's important for the application plugin to work)Richard Glen
11/09/2023, 10:08 AMCLOVIS
11/09/2023, 2:04 PMVampire
11/09/2023, 2:15 PMCLOVIS
11/09/2023, 2:40 PMkotlin {
jvm {
mainRun {
mainClass.set("…")
}
}
}
Vampire
11/09/2023, 2:41 PMRichard Glen
11/10/2023, 7:47 AM