-
Notifications
You must be signed in to change notification settings - Fork 18
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
Allow producing JDK8 bytecode on newer JDK's #101
base: main
Are you sure you want to change the base?
Allow producing JDK8 bytecode on newer JDK's #101
Conversation
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.
looks like you're still missing the --release
flag for the javacOptions when building with Java 9 or later.
Thanks, completely forgot about this PR. Will check it out later |
244571f
to
fde7819
Compare
fde7819
to
e99c01a
Compare
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.
one small suggestion, otherwise LGTM - is there a reason this PR is still in 'Draft' mode?
@@ -79,6 +79,13 @@ object Common extends AutoPlugin { | |||
"-Wconf:msg=unused import:silent", | |||
"-Wconf:cat=feature:silent")), | |||
Compile / console / scalacOptions ~= (_.filterNot(consoleDisabledOptions.contains)), | |||
// restrict to 'compile' scope because otherwise it is also passed to | |||
// javadoc and -target is not valid there. |
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.
// javadoc and -target is not valid there. | |
// javadoc and --release is not valid there. |
Still need to verify this with jardiff