Upgrading to Play 3.0.0 with Scala 3 #12226
-
Hi Everyone, When I'm trying to upgrade to Scala 3, I get an error about SBT not finding the following dependencies: "org.playframework" % "play-slick" % "6.0.0",
"org.playframework" % "play-slick-evolutions" % "6.0.0",
"be.objectify" % "deadbolt-scala" % "2.8.2", Any idea why these are missing for Scala3? I thought Scala 3 could use Scala 2.13 binaries, but I may be wrong. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I had run into the same problem with the MongoDB Scala driver (and ended up switching to the Java driver: https://www.mongodb.com/community/forums/t/scala-3-support/115681/7?u=paul_sevinc), so it seems like in general, libraries need to be explicitly built for Scala 3. What's curious in your case is that Slick's pre-releases seem to have supported Scala 3: Best of luck! |
Beta Was this translation helpful? Give feedback.
play-slick is not published for Scala 3 yet. The pre-releases did use a slick milestone version, but the 6.0 final only published with Scala 2.13 support. So we have to wait for slick for an official Scala 3 supporting release.
Deadbolt will have a new version with Scala 3 support soon.