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 47abb66 commit 35f3e12Copy full SHA for 35f3e12
sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala
@@ -436,9 +436,9 @@ object DottyPlugin extends AutoPlugin {
436
val _ = compile.value // Ensure that everything is compiled, so TASTy is available.
437
(classDirectory.value ** "*.tasty").get.map(_.getAbsoluteFile)
438
},
439
- sources ++= Def.taskDyn[Seq[File]] {
+ sources := Def.taskDyn[Seq[File]] {
440
if (isDotty.value) Def.task { tastyFiles.value }
441
- else Def.task { Nil }
+ else Def.task { sources.value }
442
}.value,
443
scalacOptions ++= {
444
if (isDotty.value) {
0 commit comments