Automated rollback of commit ca72739da10036e1d2cf2aaeab78fae87673e43f.

*** Reason for rollback ***

`bazel_compatibility` does not support pre-release versions

We can re-introduce this once https://github.com/bazelbuild/bazel/issues/19189 is fixed

*** Original change description ***

Copybara Merge: https://github.com/bazelbuild/rules_java/pull/123

BEGIN_PUBLIC
Copybara import of the project:

--
3de49c8e6834938c95606c915b4924638067b5b2 by Fabian Meumertzheim <fabian@meumertzhe.im>:

Mark rules_java as compatible with Bazel >= 7.0.0-pre.20230710.5

Since #114, rules_java requires a version of Bazel that contains
https://github.com/bazelbuild/bazel/commit/8715e9ae6f5c2fd42607018b3adaad14bf601a1c

END_PUBLIC

***

PiperOrigin-RevId: 554463780
Change-Id: Ifdbaeb60bce59fdad3bfde8b343ed870d792eba7
diff --git a/MODULE.bazel b/MODULE.bazel
index 004d5c8..d3729b9 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -2,7 +2,6 @@
     name = "rules_java",
     version = "6.4.0",
     compatibility_level = 1,
-    bazel_compatibility = [">=7.0.0-pre.20230710.5"],
 )
 
 bazel_dep(name = "platforms", version = "0.0.4")