Skip to content

Commit 74303f1

Browse files
committed
chore: add the default entry point to the compiler
1 parent cacd117 commit 74303f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

project/Build.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)