-
-
Notifications
You must be signed in to change notification settings - Fork 287
Add runtime_jdk to scala_binary #1380
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
Conversation
Co-authored-by: Shane Delmore <[email protected]>
|
|
||
| # Make sure scala_binary respects runtime_jdk on bazel run | ||
| scala_binary( | ||
| name = "scala_binary_jdk_11", |
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.
Thanks, Win! Could you see if we can add bazel run <this target> to somewhere like this as a test? https://github.com/bazelbuild/rules_scala/blob/master/test_rules_scala.sh
possibly test/shell/test_scala_binary.sh?
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.
This target is added to the list of sh_tests above, so it will be run as a test.
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.
oh ok. missed that. thank you!
liucijus
left a comment
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.
Thanks, @wiwa!
|
@simuons is this mergeable? |
simuons
left a comment
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.
Thanks @wiwa and sorry for delay.
|
No problem at all, thanks for merging. |
Description
Like with #1373, we enable
runtime_jdkselection onscala_binarytargets.This specifies the
javabinary to use withbazel runon a per-target level.Motivation
Similar to #1373, we want to enable gradual migration of
scala_binarytargets to be compatible with any JDK upgrades.