如何在本地发布 sbt 1.0 的 scalajs 插件

how to publish scalajs plugin for sbt 1.0 in local

https://github.com/scala-js/scala-js/blob/master/DEVELOPING.md#publish-locally

到目前为止已尝试:

> ^^ 1.0.2
> ;ir/publishLocal;tools/publishLocal;jsEnvs/publishLocal;jsEnvsTestKit/publishLocal;nodeJSEnv/publishLocal;testAdapter/publishLocal;sbtPlugin/publishLocal

错误:

[error] (sbtPlugin/*:update) sbt.ResolveException: unresolved dependency: org.scala-native#sbt-crossproject;0.2.1: not found

你必须先做++2.12.3:

> ++2.12.3
> ^^1.0.2
> ;ir/publishLocal;...