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

Enable Scala 3 build for Play 2.9 Server #4008

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

cptwunderlich
Copy link
Contributor

@cptwunderlich cptwunderlich commented Sep 2, 2024

Back when we added the Play 2.9 module (#3313), the tests for Scala 3 failed and so it was removed.
Now, however, we'd like to move to Scala 3 and so this PR re-enables the Scala 3 build, fixing the dependency issues.

It seems like Scala 3 artifacts for Akka are pulled in, but akka-http-core was never published for Scala 3 and so these different binary versions clash.
Following the official guide, I excluded all the relevant native Scala 3 dependencies and replaced them with for3Use2_13 ones.

@cptwunderlich cptwunderlich marked this pull request as draft September 2, 2024 14:35
Benjamin Maurer added 2 commits September 3, 2024 10:11
Build pulls in Scala 3 versions of Akka dependencies, but
akka-http-core was only published for 2.13.
One needs to exclude all Scala 3 Akka artefacts and use them
via CrossVersion.for3Use2_13.
@cptwunderlich cptwunderlich marked this pull request as ready for review September 3, 2024 08:19
@adamw adamw merged commit 33bed5b into softwaremill:master Sep 3, 2024
22 checks passed
@adamw
Copy link
Member

adamw commented Sep 3, 2024

Thanks :)

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

Successfully merging this pull request may close these issues.

2 participants