Drop support for Bazel 7 PiperOrigin-RevId: 994238467 Change-Id: I4c894b2f5a325a7b17fb8145c7f6f06d32aa4928
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index e9d03fa..9c18628 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml
@@ -27,7 +27,7 @@ matrix: all_platforms: ["rockylinux8_arm64", "ubuntu2404", "macos", "macos_arm64", "windows"] - bazel: ["7.x", "8.x", "9.x", "last_green"] + bazel: ["8.x", "9.x", "last_green"] modern_bazel: ["9.x", "last_green", "rolling"] # Fully supported Bazel versions tasks: @@ -47,15 +47,6 @@ test_targets: *test_targets test_flags: - "--test_tag_filters=-min_bazel_9" -# Bazel 7.x - build_and_test_bazel7: - name: "Bazel 7.x" - bazel: "7.x" - platform: ${{ all_platforms }} - build_targets: *build_targets - test_targets: *test_targets - test_flags: - - "--test_tag_filters=-min_bazel_8,-min_bazel_9" # Integration tests integration_build_and_test:
diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 6d22134..c26fb61 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml
@@ -6,7 +6,6 @@ - ubuntu2004 - windows bazel: - - 7.x - 8.x - 9.x tasks:
diff --git a/MODULE.bazel b/MODULE.bazel index 556f7c5..13d44ed 100644 --- a/MODULE.bazel +++ b/MODULE.bazel
@@ -1,7 +1,7 @@ module( name = "rules_java", version = "0.0.0", - bazel_compatibility = [">=7.0.0"], + bazel_compatibility = [">=8.0.0"], ) bazel_dep(name = "platforms", version = "0.0.11")