diff options
| -rw-r--r-- | build.sbt | 12 | ||||
| -rw-r--r-- | project/plugins.sbt | 2 |
2 files changed, 2 insertions, 12 deletions
@@ -132,18 +132,6 @@ lazy val publishSettings = Seq( lazy val docSettings = Seq( doc in Compile := (doc in ScalaUnidoc).value, autoAPIMappings := true, - apiMappings ++= { - Option(System.getProperty("sun.boot.class.path")).flatMap { classPath => - classPath.split(java.io.File.pathSeparator).find(_.endsWith(java.io.File.separator + "rt.jar")) - }.map { jarPath => - Map( - file(jarPath) -> url("https://docs.oracle.com/javase/8/docs/api") - ) - }.getOrElse { - streams.value.log.warn("Failed to add bootstrap class path of Java to apiMappings") - Map.empty[File,URL] - } - }, scalacOptions in Compile in doc ++= Seq( "-diagrams", "-diagrams-max-classes", "25", diff --git a/project/plugins.sbt b/project/plugins.sbt index 2ce9aa89..d4de9ef5 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -22,4 +22,6 @@ addSbtPlugin("com.github.gseitz" % "sbt-protobuf" % "0.6.5") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.12") +addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0") + libraryDependencies += "com.github.os72" % "protoc-jar" % "3.11.1" |
