We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5899730 commit dd93b12Copy full SHA for dd93b12
project/Build.scala
@@ -1450,6 +1450,9 @@ object Build {
1450
moduleName := "scala-library",
1451
version := dottyVersion,
1452
versionScheme := Some("semver-spec"),
1453
+ // sbt defaults to scala 2.12.x and metals will report issues as it doesn't consider the project a scala 3 project
1454
+ // (not the actual version we use to compile the project)
1455
+ scalaVersion := referenceVersion,
1456
crossPaths := false, // org.scala-lang:scala-library doesn't have a crosspath
1457
// Add the source directories for the stdlib (non-boostrapped)
1458
Compile / unmanagedSourceDirectories := Seq(baseDirectory.value / "src"),
0 commit comments