2

I want to compile my lagom project in Scala 3. Follow this documentation scala3 documentation, when prepare the dependencies, I change my build.sbt:

    lazy val `service-api` = (project in file("service-api"))
      .settings(
        libraryDependencies ++= Seq(
          lagomScaladslApi
        ).map(_.cross(CrossVersion.for3Use2_13))
      )

but lagom API depends other projects can't found.

error info:

[error] (service-api / update) sbt.librarymanagement.ResolveException: Error downloading com.lightbend.lagom:lagom-scaladsl-server_3:1.6.4
[error]   Not found
Dmytro Mitin
  • 48,194
  • 3
  • 28
  • 66
wangzi
  • 21
  • 1
  • 2
    Lagom is not yet compatible with Scala 3 AFAIK (Play isn't yet neither). And this is not the kind of projects that you can use in 2.13 mode as it pulls many stuff including macros which are not compatible with Scala 3 right away. – Gaël J Aug 30 '21 at 18:12

0 Answers0