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

Remove runtime dependency of non-executable java_binary #18620

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Jun 9, 2023

The java_binary Starlark implementation now only directly depends on a Java runtime toolchain when it is used as an executable rule.

This work will eventually allow java_binary with create_executable = False to be compiled for platforms that do not provide a regular JDK, such as Android.

Work towards #17085
Work towards bazelbuild/rules_java#64
Split off from #18262

The `java_binary` Starlark implementation now only directly depends on a
Java runtime toolchain when it is used as an executable rule.

This work will eventually allow `java_binary` with
`create_executable = False` to be compiled for platforms that do not
provide a regular JDK, such as Android.

Work towards bazelbuild#17085
Work towards bazelbuild/rules_java#64
Split off from bazelbuild#18262
@fmeum fmeum requested a review from hvadehra June 9, 2023 07:15
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jun 9, 2023
@sgowroji sgowroji added the team-Rules-Java Issues for Java rules label Jun 9, 2023
@hvadehra
Copy link
Member

The idea LGTM, I'm going to import manually and make the needed changes for it to work internally.

@fmeum fmeum deleted the 17085-java-binary branch June 16, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants