From cdeae68bccd0a18119a973568ac716eb5f6eb484 Mon Sep 17 00:00:00 2001 From: "Aaron S. Hawley" Date: Tue, 25 Oct 2016 16:28:28 -0400 Subject: [PATCH] Modify SBT to have api mapping to Scala library for scaladoc * build.sbt (apiMappings): Add mapping to scala-lang.org URL. --- build.sbt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 64b76fdd4..46ecf9443 100644 --- a/build.sbt +++ b/build.sbt @@ -20,7 +20,12 @@ lazy val xml = crossProject.in(file(".")) name := "scala-xml", version := "1.0.7-SNAPSHOT", scalacOptions ++= "-deprecation:false -feature -Xlint:-stars-align,-nullary-unit,_".split("\\s+").to[Seq], - scalacOptions in Test += "-Xxml:coalescing") + scalacOptions in Test += "-Xxml:coalescing", + apiMappings += ( + scalaInstance.value.libraryJar + -> url(s"http://www.scala-lang.org/api/${scalaVersion.value}/") + ) + ) .jvmSettings( scalaModuleSettings ++ scalaModuleOsgiSettings ++