-
Notifications
You must be signed in to change notification settings - Fork 76
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
Drop Java 8 #488
base: main
Are you sure you want to change the base?
Drop Java 8 #488
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
-Xss2M | ||
-XX:+CMSClassUnloadingEnabled | ||
-XX:ReservedCodeCacheSize=192m |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,14 @@ object Common extends AutoPlugin { | |
scalacOptions ++= Seq("-Xfatal-warnings"), | ||
scalacOptions ++= { | ||
if (scalaBinaryVersion.value != "3") { | ||
Seq("-target:jvm-1.8", "-Xlint", "-g:vars") | ||
Seq("-Xlint", "-g:vars") | ||
} else { | ||
Seq.empty | ||
} | ||
}, | ||
scalacOptions ++= { | ||
if (scalaBinaryVersion.value != "2.11") { | ||
Seq("-release", "11") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of
So... if we drop Java 8 for anorm... we might also should think about dropping Scala 2.11? The last release was cut 5 years ago... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be honest I would even drop Scala 2.12... build.sbt does lot of conditional stuff to make everyhing work. I think it's time to move on for people. Scala 2.13 has been out for a long time already and it just gets harder and harder to support older Scala and Java releases... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BTW: I do not se a reason to not set |
||
} else { | ||
Seq.empty | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
playVer
is 2.6.14.... So need to pull in newer Guice version that works with Java 17... It's only in test scope however. But I think this needs more refactoring...