@@ -2141,6 +2141,8 @@ object Build {
21412141 // Make sure that the produced artifacts have the minimum JVM version in the bytecode
21422142 Compile / javacOptions ++= Seq (" --release" , Versions .minimumJVMVersion),
21432143 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
2144+ // Specify the default entry point of the compiler
2145+ Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
21442146 // Packaging configuration of the stdlib
21452147 Compile / packageBin / publishArtifact := true ,
21462148 Compile / packageDoc / publishArtifact := false ,
@@ -2264,6 +2266,8 @@ object Build {
22642266 // Make sure that the produced artifacts have the minimum JVM version in the bytecode
22652267 Compile / javacOptions ++= Seq (" --release" , Versions .minimumJVMVersion),
22662268 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
2269+ // Specify the default entry point of the compiler
2270+ Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
22672271 // Packaging configuration of the stdlib
22682272 Compile / packageBin / publishArtifact := true ,
22692273 Compile / packageDoc / publishArtifact := false ,
0 commit comments