Skip to content

Commit 35f3e12

Browse files
committed
Do not add scala sources to scala3doc
Only use .tasty files
1 parent 47abb66 commit 35f3e12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,9 @@ object DottyPlugin extends AutoPlugin {
436436
val _ = compile.value // Ensure that everything is compiled, so TASTy is available.
437437
(classDirectory.value ** "*.tasty").get.map(_.getAbsoluteFile)
438438
},
439-
sources ++= Def.taskDyn[Seq[File]] {
439+
sources := Def.taskDyn[Seq[File]] {
440440
if (isDotty.value) Def.task { tastyFiles.value }
441-
else Def.task { Nil }
441+
else Def.task { sources.value }
442442
}.value,
443443
scalacOptions ++= {
444444
if (isDotty.value) {

0 commit comments

Comments
 (0)