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
Build definitions are now compiled with Scala 3, and the launcher shipped in the
repo cannot boot sbt 2, so it is replaced with the 2.0.5 launcher.
Notable changes beyond the version bump:
- `test` now means what `testQuick` used to mean and its results are cached
across `clean`, so a warm cache runs no tests at all. CI and the Makefile
use `testFull` to always run the full suite.
- Task results must be serializable, so `externalResolvers` is wrapped in
`Def.uncached`.
- The one-jar target read the runtime classpath with `export`, which now renders
entries as virtual file refs rather than paths on disk. A
`printRuntimeClasspath` task converts them back and the Makefile uses that.
- `Test / testForkedParallel` defaults to true in sbt 2, which would run the test
classes for a project concurrently. It only applies to forked tests, which this
build does not use, but it is pinned to false so the tests stay serial if
forking is ever enabled.
- Scala 3 fixes in the build: `PathFinder.get()` and an explicit import for the
String/URI to License conversion.
- The per-project scopes sbt-git sets up for `gitDescribedVersion` and
`gitUncommittedChanges` are unused here and are now excluded from lintUnused.
0 commit comments