sjrd on 0.6.x
Remove dead code: specific coll… Adapt the signature of `js.Arra… Merge pull request #3554 from s… (compare)
sjrd on master
Fix analyzer cycle detection to… Add toString methods to analyze… Do not provide linked ClassInfo… and 1 more (compare)
sjrd on master
Remove Logger.success It is un… Make level helpers final Clean-up ScalaConsoleLogger cod… and 1 more (compare)
using sbt-crossproject, I'm running into a problem in that sbt +publishSigned
publishes jvm and js artefacts, but then ultimately fails, I think for the Scala version that is shared between JVM and JS (JVM 2.13), saying Repository for publishing is not specified.
. Any idea?
lazy val root = crossProject(JSPlatform, JVMPlatform).in(file("."))
.settings(commonSettings) // scalaVersion := "2.13.3"
.settings(publishSettings) // publishTo := ...
.settings(
name := "scala-stm",
)
.jvmSettings(
crossScalaVersions := Seq("0.27.0-RC1", "2.13.3", "2.12.12", "2.11.12"),
)
.jsSettings(
crossScalaVersions := scalaVersion.value :: Nil,
)
where publishSettings
clearly defines publishTo
repository.
sbt ++2.13.3 rootJVM/publishSigned
, but it's weird that it doesn't work within +publishSigned
main(Array[String])
, not main()
.
You can check in the release notes: https://www.scala-js.org/news/2020/10/16/announcing-scalajs-1.3.0/
And I think you're safe:
* It is backward binary compatible with all earlier versions in the 1.x series: libraries compiled with 1.0.x through 1.2.x can be used with 1.3.0 without change.
Hi, I tried to update up to 1.3.0
but I had troubles so want to downgrade to 1.2.0
but now I can't do it.
because of this error:
[error] org.scalajs.ir.IRVersionNotSupportedException:
Failed to deserialize a file compiled with Scala.js 1.3 (supported up to: 1.2):
/home/elyphas/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.13/1.3.0/scalajs-library_2.13-1.3.0.jar:/scala/Tuple12$.sjsir
[error] You may need to upgrade the Scala.js sbt plugin to version 1.3 or later.
[error] at org.scalajs.sbtplugin.ScalaJSPluginInternal$.enhanceIRVersionNotSupportedException(ScalaJSPluginInternal.scala:83)
[error] at org.scalajs.sbtplugin.ScalaJSPluginInternal$.$anonfun$scalaJSStageSettings$15(ScalaJSPluginInternal.scala:220)
[error] at sbt.util.FileFunction$.$anonfun$cached$1(FileFunction.scala:80)
[error] at sbt.util.FileFunction$.$anonfun$cached$4(FileFunction.scala:153)
[error] at sbt.util.Difference.apply(Tracked.scala:414
any idea? please.
by the way I had sbt
1.4.0
1.3.0
[warn] scalajs-library_2.13-1.3.0.jar no longer exists at /home/elyphas/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.13/1.3.0/scalajs-library_2.13-1.3.0.jar
[warn] scalajs-library_2.13-1.2.0.jar no longer exists at /home/elyphas/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.13/1.2.0/scalajs-library_2.13-1.2.0.jar
GridBagLayout
in my API :sweat_smile: