From 5ca832ad48b0b8cac66c84afad21d21d5c937522 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 18 Nov 2020 16:27:12 -0800 Subject: [PATCH 1/2] disable failing Dottydoc I'm seeing a lot of repos doing this -- it's fine, Scala3doc will replace it --- build.sbt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sbt b/build.sbt index bbe6f625a..d7a612007 100644 --- a/build.sbt +++ b/build.sbt @@ -40,6 +40,10 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform) scalacOptions in Test += "-Xxml:coalescing", + // don't run Dottydoc, it errors and isn't needed anyway. + // but we leave `publishArtifact` set to true, otherwise Sonatype won't let us publish + Compile / doc / sources := (if (isDotty.value) Seq() else (Compile / doc/ sources).value), + scalaModuleMimaPreviousVersion := { if (isDotty.value) None // No such release yet // else if (System.getenv("SCALAJS_VERSION") == "1.0.1") None From 84fa0de96a8c1cc7588ae4548a5204b23eeeac02 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 18 Nov 2020 16:27:18 -0800 Subject: [PATCH 2/2] upgrade sbt to 1.4.3 previously this was blocked by Dottydoc failing --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 0837f7a13..947bdd302 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.3.13 +sbt.version=1.4.3