-
Notifications
You must be signed in to change notification settings - Fork 1.5k
JAVA-3839 #576
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
JAVA-3839 #576
Conversation
JAVA-3839
JAVA-3839
Several more rules were added, which are excluded in codenarc.xml JAVA-3839
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.
Update gradle.properties
:
scalaVersions=2.11.12,2.12.12,2.13.3
defaultScalaVersions=2.13.3
See: https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html#version-compatibility-table
You'll have to edit the publishing the scala snapshots / archives and set the jdk to 11 for the 2.11 & 2.12 versions of scala.
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.
Typo: Should be 2.13.3
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.
LGTM!
Added one more update to fix an issue when using Java 15. |
@rozza this is preliminary work as the Scala build fails when running against Java 14. See https://jira.mongodb.org/browse/JAVA-3839 for the exception I get. I found sbt/sbt#5093 but I'm not sure what, if anything, can be updated in our build script to take advantage of the fix. Can you take a look?