You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that sbt-jcheckstyle 0.3.0 publishes an sbt2 cross-build, the sbt2
migration (superseding scala-steward PR #997) is unblocked. Bumps:
- sbt: 1.12.13 -> 2.0.1
- sbt-jcheckstyle: 0.2.1 -> 0.3.0 (the actual blocker)
- sbt-osgi: 0.10.0 -> 0.11.0-RC1 (only version with an sbt2 cross-build)
- sbt-pgp, sbt-scalafmt, sbt-dynver already cross-built for sbt2 at their
current versions
build.sbt changes required by sbt 2's new task engine:
- Wrap the jcheckStyle-dependsOn compile overrides in Def.uncached(...);
CompileAnalysis has no JsonFormat to cache against
- Add implicitConversions import and method-call dependsOn syntax to clear
new Scala 3.8 strictness warnings
sbt 2 itself requires JDK 17+ to run, while CI still needs to verify the
library at runtime on JDK 8/11/17/21/24. Decouple the two via
Test/fork + Test/javaHome (driven by a TEST_JAVA_HOME env var), and update
CI.yml/release.yml/snapshot.yml to install a fixed modern JDK to launch sbt
itself while forking tests onto the matrix JDK. Published bytecode is
unaffected since it's already pinned to 1.8 via javacOptions.
0 commit comments