A quick workaround for 404

Ref https://github.com/sbt/sbt/issues/6487
This commit is contained in:
Eugene Yokota 2021-05-09 18:22:03 -04:00
parent aa24faff50
commit fc00de02b4
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,7 @@ def commonBaseSettings: Seq[Setting[_]] = Def.settings(
Test / testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-w", "1"),
Test / testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-verbosity", "2"),
compile / javacOptions ++= Seq("-Xlint", "-Xlint:-serial"),
/*
Compile / doc / scalacOptions ++= {
import scala.sys.process._
val devnull = ProcessLogger(_ => ())
@ -88,6 +89,7 @@ def commonBaseSettings: Seq[Setting[_]] = Def.settings(
s"https://github.com/sbt/sbt/tree/$tagOrSha€{FILE_PATH}.scala"
)
},
*/
Compile / javafmtOnCompile := Def
.taskDyn(if ((scalafmtOnCompile).value) Compile / javafmt else Def.task(()))
.value,