-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
enhancementNew feature or requestNew feature or requestlegacy:runner:compatIssues tied to the legacy scala runner compatibilityIssues tied to the legacy scala runner compatibilitypriority: lowscriptingIssues tied to *.sc script inputs.Issues tied to *.sc script inputs.
Description
Is your feature request related to a problem? Please describe.
After #3479 (comment) we will detect single main class if it's the only thing contained in the script and invoke that.
Describe the solution you'd like
We should also allow user to define which main class to use if there is more that one for example:
object Main { def main(args: String): Unit = ??? }
object Main2 { def main(args: String): Unit = ??? }
Describe alternatives you've considered
Using .scala files is a very simple workaround
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlegacy:runner:compatIssues tied to the legacy scala runner compatibilityIssues tied to the legacy scala runner compatibilitypriority: lowscriptingIssues tied to *.sc script inputs.Issues tied to *.sc script inputs.