Skip to content

Commit 17c4749

Browse files
authored
Update HEAD to support Bazel 6 -> Bazel 8. (#1294)
* Update HEAD to support Bazel 6 -> Bazel 8. * Update README.md Respond to feedback
1 parent 534e62d commit 17c4749

File tree

12 files changed

+23
-26
lines changed

12 files changed

+23
-26
lines changed

.bazelci/presubmit.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,9 @@ tasks:
2424
test_targets:
2525
- "--"
2626
- "//tests/integration/override_targets:override_targets"
27-
# TODO: restore once https://github.com/bazelbuild/continuous-integration/issues/1810 is fixed
28-
# ubuntu2204_4_2_2:
29-
# platform: ubuntu2204
30-
# bazel: 4.2.2
31-
# environment:
32-
# REPIN: 1
33-
# shell_commands:
34-
# - bazel run @regression_testing_coursier//:pin
35-
# - bazel run @regression_testing_maven//:pin
36-
# - bazel run @maven_install_in_custom_location//:pin
37-
# - tests/bazel_run_tests.sh
38-
# test_targets:
39-
# - "--"
40-
# - "//..."
41-
ubuntu2204_5_4_0:
27+
ubuntu2204_6_4_0:
4228
platform: ubuntu2204
43-
bazel: 5.4.0
29+
bazel: 6.4.0
4430
environment:
4531
REPIN: 1
4632
shell_commands:
@@ -51,9 +37,9 @@ tasks:
5137
test_targets:
5238
- "--"
5339
- "//..."
54-
ubuntu2204_6_4_0:
40+
ubuntu2204_7_4_1:
5541
platform: ubuntu2204
56-
bazel: 6.4.0
42+
bazel: 7.4.1
5743
environment:
5844
REPIN: 1
5945
shell_commands:

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.4.0
1+
7.4.1

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,14 @@ Find other GitHub projects using `rules_jvm_external`
9292

9393
## Prerequisites
9494

95-
* Bazel 5.4.1 and above.
95+
* Bazel 6.4.0, up to the current LTS version.
96+
* Support for Bazel versions between `5.4` and `7.x` is only available on releases `6.x`.
97+
* Support for Bazel versions between `4.x` and `5.4` is only available on releases `5.x`.
98+
* Support for Bazel versions before `4.0.0` is only available on releases `4.2` or earlier.
9699

97-
Support for Bazel versions between `4.x` and `5.4` is only available on rules_jvm_external releases `5.x`.
98-
99-
Support for Bazel versions before `4.0.0` is only available on rules_jvm_external releases `4.2` or earlier.
100+
**Compatibility guideline:** This project aims to be backwards compatible with
101+
the (current LTS - 2) version. If the current LTS version is 8, then we aim to
102+
support versions 6, 7 and 8.
100103

101104
## Usage
102105

@@ -172,7 +175,7 @@ rules_jvm_external_deps(
172175
rules_jvm_external_setup()
173176
```
174177

175-
If you are using `bzlmod`, define an `install` tag in your root
178+
If you are using `bzlmod`, define an `install` tag in your root
176179
`MODULE.bazel` which overrides the values:
177180

178181
```python
@@ -184,7 +187,7 @@ maven.install(
184187
```
185188

186189
Once these changes have been made, repin using `REPIN=1 bazel run
187-
@rules_jvm_external_deps//:pin` and commit the file to your version
190+
@rules_jvm_external_deps//:pin` and commit the file to your version
188191
control system (note that at this point you will need to maintain your
189192
customized `rules_jvm_external_deps_install.json`):
190193

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.4.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.4.1

examples/bzlmod/.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.1
1+
8.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.4.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.4.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.4.1

examples/scala_akka/.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.4.1

0 commit comments

Comments
 (0)