Open Sciss opened 3 years ago
Ok. Despite aggregate
only containing the JVM projects, it seems that the JS projects are still referred to. If they are explicitly removed, it seems to work:
val audioFileURI = uri("https://github.com/Sciss/AudioFile.git#v2.3.1")
val lAudioFile = ProjectRef(audioFileURI, "rootJVM")
val xAudioFile = ProjectRef(audioFileURI, "rootJS")
val root = project.in(file("."))
.enablePlugins(ScalaUnidocPlugin)
.aggregate(lAudioFile)
.settings(
scalaVersion := "2.13.4",
unidocProjectFilter in (ScalaUnidoc, unidoc) := inAnyProject -- inProjects(xAudioFile) // !
)
Should this be documented?
https://github.com/Sciss/UnidocCrossProblem
When running
sbt ++2.13.4! unidoc
, basically I am just getting error as if every symbol was already found:etc.
I don't know where this comes from. Why does scaladoc/unidoc say all these symbols were already defined? Is there a workaround?