Skip to content
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

feat(java): Switch to add_exports #6049

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

salguarnieri
Copy link
Contributor

@salguarnieri salguarnieri commented Mar 12, 2024

add_exports can be used instead of specifying exports in javacopts and jvm_flags. The values are passed up the dependency chain, so the top level binary no longer needs explicit jvm_flags.

add_exports was added in bazel 7.1.0 so this also needs a bazel version update.

https://bazel.build/reference/be/java#java_library.add_exports

add_exports can be used instead of specifying exports in javacopts and
jvm_flags. The values are passed up the dependency chain, so the top
level binary no longer needs jvm_flags.

https://bazel.build/reference/be/java#java_library.add_exports
@salguarnieri salguarnieri requested a review from shahms March 12, 2024 17:26
@salguarnieri salguarnieri merged commit f65a72d into kythe:master Mar 12, 2024
5 checks passed
@salguarnieri salguarnieri deleted the exports branch March 12, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants