mirror of https://github.com/sbt/sbt.git
Upgrade from -Ymacro-no-expand to -Ymacro-expand:none
This commit is contained in:
parent
308abcde9f
commit
fa487ac8ea
|
|
@ -315,7 +315,7 @@ lazy val docProjects: ScopeFilter = ScopeFilter(
|
||||||
inConfigurations(Compile)
|
inConfigurations(Compile)
|
||||||
)
|
)
|
||||||
def fullDocSettings = Util.baseScalacOptions ++ Docs.settings ++ Sxr.settings ++ Seq(
|
def fullDocSettings = Util.baseScalacOptions ++ Docs.settings ++ Sxr.settings ++ Seq(
|
||||||
scalacOptions += "-Ymacro-no-expand", // for both sxr and doc
|
scalacOptions += "-Ymacro-expand:none", // for both sxr and doc
|
||||||
sources in sxr := {
|
sources in sxr := {
|
||||||
val allSources = (sources ?? Nil).all(docProjects).value
|
val allSources = (sources ?? Nil).all(docProjects).value
|
||||||
allSources.flatten.distinct
|
allSources.flatten.distinct
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue