Update rules_java to 7.3.0

Copybara Import from https://github.com/bazelbuild/rules_java/pull/154

BEGIN_PUBLIC
Update rules_java to 7.3.0 (#154)

https://github.com/bazelbuild/rules_java/pull/151#issuecomment-1814772902

Closes #154
END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/154 from bazelbuild:rules_java-7.3 ddcebff6a5cb67c6a38f4b24d88b12242db77cbe
PiperOrigin-RevId: 583054998
Change-Id: I7078c14eada52276fa6e1fc7c54963a7c1c88c56
diff --git a/MODULE.bazel b/MODULE.bazel
index 199b272..646eb5c 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,6 +1,6 @@
 module(
     name = "rules_java",
-    version = "7.2.0",
+    version = "7.3.0",
     # Requires @bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type.
     bazel_compatibility = [">=6.4.0"],
     compatibility_level = 1,
diff --git a/java/defs.bzl b/java/defs.bzl
index 8b62964..b7bca73 100644
--- a/java/defs.bzl
+++ b/java/defs.bzl
@@ -18,7 +18,7 @@
 # Do not touch: This line marks the end of loads; needed for PR importing.
 
 _MIGRATION_TAG = "__JAVA_RULES_MIGRATION_DO_NOT_USE_WILL_BREAK__"
-version = "7.2.0"
+version = "7.3.0"
 
 def _add_tags(attrs):
     if "tags" in attrs and attrs["tags"] != None: