Skip to content

Commit

Permalink
Refactor java_binary rule attributes in preparation for java_test
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 493824140
Change-Id: I0adb22a9e51c4e4da91c28166fc95b89783d8b9c
  • Loading branch information
hvadehra authored and copybara-github committed Dec 8, 2022
1 parent 1a1eced commit c6e655b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/starlark/builtins_bzl/common/java/java_binary.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ BASIC_JAVA_BINARY_ATTRIBUTES = merge_attrs(
"use_launcher": attr.bool(default = True),
"env": attr.string_dict(),
"classpath_resources": attr.label_list(allow_files = True),
"licenses": attr.license() if hasattr(attr, "license") else attr.string_list(),
"_stub_template": attr.label(
default = semantics.JAVA_STUB_TEMPLATE_LABEL,
allow_single_file = True,
Expand Down

0 comments on commit c6e655b

Please sign in to comment.