What's the difference between `mainRun` and `binar...
# gradle
h
What's the difference between
mainRun
and
binaries.executable
?:
Copy code
kotlin.jvm {
  mainRun {
    mainClass = "sample.MainKt"
  }
  binaries {
    executable {
      mainClass = "sample.MainKt"
    }
  }
}
Okay, the first one creates
runJvm
task, while the latter registers
jvmRun
...
Aaaaand the first one does not support JPMS, the latter does
c