diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/Build.scala | 2 | ||||
-rw-r--r-- | project/Layers.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/project/Build.scala b/project/Build.scala index f01651b239..610f756a34 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("-doc-source-path", (bd / "src" / "library").getAbsolutePath, + // Seq("-sourcepath", (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 fd614ef9ac..6d0c68f2a4 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("-Ysourcepath", src.getAbsolutePath)), + scalacOptions in Compile <++= (scalaSource in Compile) map (src => Seq("-sourcepath", src.getAbsolutePath)), resourceGenerators in Compile <+= (resourceManaged, Versions.scalaVersions, skip in Compile, streams) map Versions.generateVersionPropertiesFile("library.properties"), referenceScala ) |