Disable runfiles symlink conflict checking errors for Starlark java_binary
Violations reported by the conflict checking are not related to the symlinks created in java_binary, so it is safe to skip. This keeps the same behavior as native java_binary, and conflicts, if any, will continue to be reported as warnings.
@@ -225,6 +225,7 @@ def basic_java_binary(
transitive_files = transitive_runfiles_artifacts,
collect_default = True,
symlinks = runfiles_symlinks,
+ skip_conflict_checking = True,
)
if launcher_info.launcher:
