Skip to content

Commit 9d32c55

Browse files
committed
chore: add the default entry point to the compiler
1 parent 4c8e490 commit 9d32c55

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
@@ -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

Comments
 (0)