@@ -2113,6 +2113,8 @@ object Build {
21132113 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
21142114 // Specify the default entry point of the compiler
21152115 Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
2116+ // Add entry's to the MANIFEST
2117+ packageOptions += ManifestAttributes ((" Git-Hash" , VersionUtil .gitHash)), // Used by the REPL
21162118 // Packaging configuration of the stdlib
21172119 Compile / packageBin / publishArtifact := true ,
21182120 Compile / packageDoc / publishArtifact := false ,
@@ -2237,6 +2239,8 @@ object Build {
22372239 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
22382240 // Specify the default entry point of the compiler
22392241 Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
2242+ // Add entry's to the MANIFEST
2243+ packageOptions += ManifestAttributes ((" Git-Hash" , VersionUtil .gitHash)), // Used by the REPL
22402244 // Packaging configuration of the stdlib
22412245 Compile / packageBin / publishArtifact := true ,
22422246 Compile / packageDoc / publishArtifact := false ,
0 commit comments