Could you guys please explain to me how to set main class in SBT project ? I\'m trying to use version 0.13.
My directory structure is very simple (unlike SBT\'s docu
you have 1 main class
sbt run and sbt will find main for youyou have 2 or more main classes
sbt run and sbt will propose to select which one you want to run.Multiple main classes detected, select one to run:
[1] a.b.DummyMain1
[2] a.b.DummyMain2
Enter number:
You want to set main class manually.
mainClass in run := Some("a.b.DummyMain1")
You could run with main class as parameter
sbt runMain a.b.DummyMain1