Files
zeekay 5b3cd03d9f ci: add build/test workflow; migrate sbt 0.13→1.10.7 off dead Bintray plugins
The build used sbt-0.13-era, Bintray-only plugins (sbt-scalajs 0.6.33,
sbt-assembly 0.14.10) that no longer resolve since Bintray shut down.
Relocate to current Maven-Central releases, staying within Scala 2.11:

  - sbt 0.13.18 -> 1.10.7
  - sbt-scalajs 0.6.33 -> 1.12.0 (last Scala.js supporting Scala 2.11)
  - + sbt-scalajs-crossproject 1.3.2 (crossProject moved out of sbt-scalajs)
  - sbt-assembly 0.14.10 -> 2.3.1

build.sbt: migrate 0.13 syntax to sbt 1.x
  - crossProject -> crossProject(JVMPlatform, JSPlatform).crossType(CrossType.Full)
  - scoping: 'X in Y' -> 'Y / X'

Tests: scalatest 3.0.9 -> 3.2.19 (3.0.9 has no Scala.js-1 artifact); update
the four specs to the 3.2 package layout (AnyFlatSpec, should.Matchers).
MultifileSpec: replace UUID.randomUUID() with the deterministic two-long
UUID constructor — randomUUID is not linkable under Scala.js (it references
java.security.SecureRandom, absent from the Scala.js java library).

sbt test is green on all four targets: runtimeJVM, runtimeJS,
compilerTestJVM, compilerTestJS (9 tests, both platforms).
2026-06-20 21:35:56 -07:00

7 lines
309 B
Scala

logLevel := Level.Warn
// Scala.js 1.12.0 is the last release supporting Scala 2.11.
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.12.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.1")