mikehearn
08/12/2025, 12:48 PMdesktopMain
to jvmMain
as a source set. It feels like this has switched back and forth over time and I don't quite understand why.Sebastian Sellmair [JB]
08/12/2025, 3:50 PMkotlin.sourceSets.jvmMain
) will not work ❌
Many task names created by plugins will be different (e.g. jvmRun
vs desktopRun
). ❌
Copy-Paste in buildscripts is harder when not using defaults ❌
Overall, I have seen many users getting frustrated by trying to run their project using jvmRun
and I had hard times explaining that the {targetName}Run
naming schema.
The Kotlin Build model is really not intuitive (I wish it were), but the fact is: It is not! And using just the default name for the target jvm
has significant benefits for beginners.
Advanced users can always choose to give their target a custom name and they will know that this might change task names ✅gildor
08/13/2025, 5:23 AMmikehearn
08/13/2025, 8:17 AMjvmMain
, always just main
in my JVM projects. Anyway, I understand the reasoning but I had to do a fair bit of busywork last night because of this name change so ideally please don't change it again!Sebastian Sellmair [JB]
08/13/2025, 8:21 AMmikehearn
08/13/2025, 8:22 AMSebastian Sellmair [JB]
08/13/2025, 8:24 AMmikehearn
08/13/2025, 8:30 AMColton Idle
08/15/2025, 1:54 PMMichael Paus
08/15/2025, 2:37 PMeygraber
08/15/2025, 2:38 PMDaniel Pitts
08/16/2025, 2:49 PMMichael Paus
08/16/2025, 3:08 PMDaniel Pitts
08/16/2025, 3:09 PMMichael Paus
08/16/2025, 3:12 PMDaniel Pitts
08/16/2025, 3:13 PMColton Idle
08/17/2025, 3:47 PMmikehearn
08/18/2025, 8:24 AMMichael Paus
08/18/2025, 1:46 PM