@@ -2111,6 +2111,8 @@ object Build {
21112111 // Make sure that the produced artifacts have the minimum JVM version in the bytecode
21122112 Compile / javacOptions ++= Seq (" --release" , Versions .minimumJVMVersion),
21132113 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
2114+ // Specify the default entry point of the compiler
2115+ Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
21142116 // Packaging configuration of the stdlib
21152117 Compile / packageBin / publishArtifact := true ,
21162118 Compile / packageDoc / publishArtifact := false ,
@@ -2233,6 +2235,8 @@ object Build {
22332235 // Make sure that the produced artifacts have the minimum JVM version in the bytecode
22342236 Compile / javacOptions ++= Seq (" --release" , Versions .minimumJVMVersion),
22352237 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
2238+ // Specify the default entry point of the compiler
2239+ Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
22362240 // Packaging configuration of the stdlib
22372241 Compile / packageBin / publishArtifact := true ,
22382242 Compile / packageDoc / publishArtifact := false ,
0 commit comments