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
Add jmods #135
Add jmods #135
Conversation
@cushon What are your thoughts about this? |
Internally we defined a separate |
Would it make sense to have something similar in rules_java (a separate target), or to add this? |
That sounds reasonable. @Sineaggi Could you please declare a separate java_runtime with the name |
Closing in favor of #184 |
Copybara Import from #184 BEGIN_PUBLIC Make jmods available from the jdk BUILD file (#184) The PR at #135 looks dormant, this makes the change requested at #135 (comment) I don't need the entire change here, having the jmods as a filegroup is sufficient for using jlink, but @cushon suggested adding the files as sources to the java_runtime as well, if I understood him correctly, so I did that too. If that's not necessary, let me know and I'll remove that part. Closes #184 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=#184 from srdo-humio:stig/jdk-with-jmods e1513db PiperOrigin-RevId: 631308886 Change-Id: I455d1ff6abd8d5b92e0e25f92caed796fe019aec
Hopefully soon, I opened #186 for now |
The jmods is important for anybody attempting to use the
jlink
command with a custom--add-modules
flag.