mirror of https://github.com/sbt/sbt.git
Add missing scalac options to scaladoc task configuration
This commit is contained in:
parent
20395d107c
commit
fcab06bd3d
|
|
@ -2107,7 +2107,7 @@ object Defaults extends BuildCommon {
|
|||
val projectName = name.value
|
||||
if (ScalaArtifacts.isScala3(sv)) {
|
||||
val project = if (config == Compile) projectName else s"$projectName-$config"
|
||||
Seq("-project", project)
|
||||
compileOptions ++ Seq("-project", project)
|
||||
} else compileOptions
|
||||
},
|
||||
(TaskZero / key) := {
|
||||
|
|
|
|||
Loading…
Reference in New Issue