The GitHub Actions job "Scalafmt" on pekko.git/chore/sbt2-migration has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
1b9a97cbd7609d27633810f3be9bdf4291586f11 / He-Pin <[email protected]>
chore: Fix all build definition compilation errors for sbt 2

Motivation:
The initial sbt 2 migration had 44+ compilation errors from Scala 3
syntax changes, sbt 2 API changes, and task caching requirements.

Modification:
- Fix PathFinder.get → .get() (Scala 3 nullary method requirement)
- Fix vararg splices _* → * (Scala 3 syntax)
- Move SbtMultiJvmPlugin and Jvm to package sbt (Tests.Output is
  now private[sbt])
- Fix test task return type (Unit → TestResult in sbt 2)
- Fix Classpath type (Attributed[File] → Attributed[HashedVirtualFileRef])
- Replace inTask() with task-scoped settings (removed in sbt 2)
- Wrap 30+ settings with Def.uncached (sbt 2 caches all tasks)
- Fix exportJars default change (true in sbt 2, was false)
- Handle File→HashedVirtualFileRef conversions via fileConverter
- Comment out ParadoxProjectInfoPluginKeys and ApidocPlugin (not
  in paradox 0.11.0-M4)
- Comment out disabled plugin keys in build.sbt (sourceDistName,
  pekkoCoreProject)
- Fix Inc/Value extractors import for sbt 2
- Fix MapView → Map conversion

Result:
Build definition compiles and project loads successfully with
sbt 2.0.0-RC14. Project source compilation not yet tested.

Report URL: https://github.com/apache/pekko/actions/runs/27074414978

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to