Explicit main
method needed for Scala 3
#11701
Merged
main
method needed for Scala 3
#11701