Skip to content

how to compile lagom service in scala3 #3303

Open
@wangzi1204

Description

@wangzi1204

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions