Ignore the `exec_group_compatible_with` attribute in `java_binary` transitive validation collection PiperOrigin-RevId: 722600572 Change-Id: If9b64f65308c16a6d71b8f9cde268f406cdae245
diff --git a/java/common/rules/impl/java_binary_impl.bzl b/java/common/rules/impl/java_binary_impl.bzl index 7de9d30..9311430 100644 --- a/java/common/rules/impl/java_binary_impl.bzl +++ b/java/common/rules/impl/java_binary_impl.bzl
@@ -392,10 +392,13 @@ "plugins", "translations", # special ignored attributes + # LINT.IfChange(validation_ignored_attrs) "compatible_with", "restricted_to", "exec_compatible_with", + "exec_group_compatible_with", "target_compatible_with", + # LINT.ThenChange(//jtcg/devtools/build/lib/rules/java/AbstractJavaBinaryConfiguredTargetTest.java:validation_ignored_attrs) ] ]) if not ctx.attr.create_executable: