diff options
| author | Schuyler Eldridge | 2020-03-30 13:51:06 -0400 |
|---|---|---|
| committer | Schuyler Eldridge | 2020-03-30 13:51:27 -0400 |
| commit | 331e5bcbbc69e2ed16750a25f83de99d3c8a2b29 (patch) | |
| tree | 8d05e1b3d557404d76c162c07950043110ef8bba | |
| parent | 8c01e8ced10944db212aaa7939bfa2cab28ab02b (diff) | |
Switch to 3.0.0 sbt-apimappings
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
| -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" |
