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.
2 parents 42eb864 + 49ab23c commit bf9888eCopy full SHA for bf9888e
project/Build.scala
@@ -555,11 +555,15 @@ object DottyInjectedPlugin extends AutoPlugin {
555
}
556
)
557
558
- lazy val `scala-library` = project
559
- .settings(
560
- libraryDependencies += "org.scala-lang" % "scala-library" % scalaVersion.value
561
- )
562
- .settings(publishing)
+
+ // Dummy scala-library artefact. This is useful because sbt projects
+ // automatically depend on scalaOrganization.value % "scala-library" % scalaVersion.value
+ lazy val `scala-library` = project.
+ dependsOn(`dotty-library`).
563
+ settings(
564
+ crossPaths := false
565
+ ).
566
+ settings(publishing)
567
568
lazy val publishing = Seq(
569
publishMavenStyle := true,
0 commit comments