Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to compile lagom service in scala3 #3303

Open
wangzi1204 opened this issue Aug 30, 2021 · 1 comment
Open

how to compile lagom service in scala3 #3303

wangzi1204 opened this issue Aug 30, 2021 · 1 comment

Comments

@wangzi1204
Copy link

I want to compile my lagom project in scala3.
Follow this 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

Lagom Version (1.2.x / 1.3.x / etc)

1.6.4

API (Scala / Java / Neither / Both)

Scala3

Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)

MacOS 11.5

JDK (Oracle 1.8.0_112, OpenJDK 1.8.x, Azul Zing)

JDK8

@mosaic-matt-bush
Copy link

I think this is likely impossible (at least for now). Lagom makes extensive use of scala macros, which completely changed between 2.13 and 3.0, so the for3Use2_13 trick probably won't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants