Skip to content

Conversation

@kyri-petrou
Copy link
Contributor

Followup of discussion on this PR.

With this PR, the -release:11 flag is added to all JVM builds for Scala 2.12, 2.13 and 3. Note that I tried to use -release:8 for Scala 2.12, but the code wouldn't compile because core uses Java 11 APIs. More info on making on making the compiler flags consistent across Scala versions here

@adamw adamw merged commit 1011dca into softwaremill:master Apr 12, 2023
@adamw
Copy link
Member

adamw commented Apr 12, 2023

Thank you!

@kyri-petrou kyri-petrou deleted the scalac-release-flag branch April 12, 2023 09:41
@SethTisue
Copy link
Contributor

Does this imply that the Scala Toolkit won't work on Java 8?

@adamw
Copy link
Member

adamw commented Apr 12, 2023

@SethTisue It might, though it's not really a question to me :) As far as sttp is concerned, we require Java 11+ for quite some time now (probably a year or so)

@SethTisue
Copy link
Contributor

@szymon-rd something to document, I guess

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.

3 participants