@@ -2143,6 +2143,8 @@ object Build {
21432143 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
21442144 // Specify the default entry point of the compiler
21452145 Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
2146+ // Add entry's to the MANIFEST
2147+ packageOptions += ManifestAttributes ((" Git-Hash" , VersionUtil .gitHash)), // Used by the REPL
21462148 // Packaging configuration of the stdlib
21472149 Compile / packageBin / publishArtifact := true ,
21482150 Compile / packageDoc / publishArtifact := false ,
@@ -2268,6 +2270,8 @@ object Build {
22682270 Compile / scalacOptions ++= Seq (" --java-output-version" , Versions .minimumJVMVersion),
22692271 // Specify the default entry point of the compiler
22702272 Compile / mainClass := Some (" dotty.tools.dotc.Main" ),
2273+ // Add entry's to the MANIFEST
2274+ packageOptions += ManifestAttributes ((" Git-Hash" , VersionUtil .gitHash)), // Used by the REPL
22712275 // Packaging configuration of the stdlib
22722276 Compile / packageBin / publishArtifact := true ,
22732277 Compile / packageDoc / publishArtifact := false ,
0 commit comments