summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala2
-rw-r--r--project/Layers.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 610f756a34..f01651b239 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -359,7 +359,7 @@ object ScalaBuild extends Build with Layers {
},
compile := inc.Analysis.Empty,
// scaladocOptions in Compile <++= (baseDirectory) map (bd =>
- // Seq("-sourcepath", (bd / "src" / "library").getAbsolutePath,
+ // Seq("-doc-source-path", (bd / "src" / "library").getAbsolutePath,
// "-doc-no-compile", (bd / "src" / "library-aux").getAbsolutePath,
// "-doc-source-url", """https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/€{FILE_PATH}.scala#L1""",
// "-doc-root-content", (bd / "compiler/scala/tools/nsc/doc/html/resource/lib/rootdoc.txt").getAbsolutePath
diff --git a/project/Layers.scala b/project/Layers.scala
index 6d0c68f2a4..fd614ef9ac 100644
--- a/project/Layers.scala
+++ b/project/Layers.scala
@@ -71,7 +71,7 @@ trait Layers extends Build {
resourceDirectory in Compile <<= baseDirectory apply (_ / "src" / "library"),
defaultExcludes in unmanagedResources := ("*.scala" | "*.java" | "*.disabled"),
// TODO - Allow other scalac option settings.
- scalacOptions in Compile <++= (scalaSource in Compile) map (src => Seq("-sourcepath", src.getAbsolutePath)),
+ scalacOptions in Compile <++= (scalaSource in Compile) map (src => Seq("-Ysourcepath", src.getAbsolutePath)),
resourceGenerators in Compile <+= (resourceManaged, Versions.scalaVersions, skip in Compile, streams) map Versions.generateVersionPropertiesFile("library.properties"),
referenceScala
)