Skip to content

Supporting scala 3.3 && updating play-ws to 3.0.0 #1

@SunPj

Description

@SunPj

Currently when using with scala 3.3.1 I have following error

[error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/home/kraken/projects/chat-admin-api/"), "root"):
[error]    org.scala-lang.modules:scala-java8-compat _3, _2.13

So we should adjust this to work with scala 3, and we can also use play-ws 3.0.0 here

playWsVersion := {
  scalaVersion.value match {
    case "2.12.15" => "2.1.10"
    case "2.13.10" => "2.2.0-M3"
    case "3.2.2" => "2.2.0-M2" // Version "2.2.0-M3" was produced by an unstable release: Scala 3.3.0-RC3
    case _ => "2.1.10"
  }
}

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