@@ -198,7 +198,7 @@ load(
198
198
199
199
` rules_scala ` now supports the
200
200
[ ` --incompatible_enable_proto_toolchain_resolution ` ] [ ] flag when using
201
- [ ` protobuf ` v29 or later] ( #why-proto-v29 ) . When using this flag with the
201
+ [ protobuf v29 or later] ( #why-proto-v29 ) . When using this flag with the
202
202
` MODULE.bazel ` or ` WORKSPACE ` configurations below, ` rules_scala ` will use a
203
203
precompiled protocol compiler binary by default.
204
204
@@ -248,7 +248,6 @@ scala_deps = use_extension(
248
248
" @rules_scala//scala/extensions:deps.bzl" ,
249
249
" scala_deps" ,
250
250
)
251
-
252
251
scala_deps.toolchains(
253
252
protoc_platforms = [" linux-x86_64" ],
254
253
)
@@ -305,12 +304,11 @@ bazel_dep(
305
304
version = " 30.1" ,
306
305
repo_name = " com_google_protobuf" ,
307
306
)
308
-
309
307
single_version_override(
310
308
module_name = " protobuf" ,
311
- version = " 30.1" ,
312
- patches = [" //:protobuf.patch" ],
313
309
patch_strip = 1 ,
310
+ patches = [" //:protobuf.patch" ],
311
+ version = " 30.1" ,
314
312
)
315
313
```
316
314
@@ -483,7 +481,7 @@ maximum available at the time of writing.
483
481
| Bazel versions using ` WORKSPACE ` | 6.5.0, 7.5.0, 8.x<br />(see the [ notes on 6.5.0 compatibility] ( #6.5.0 ) ) |
484
482
| ` protobuf ` | v30.1 |
485
483
| ` abseil-cpp ` | 20250127.0 |
486
- | ` rules_java ` | 8.10 .0 |
484
+ | ` rules_java ` | 8.11 .0 |
487
485
| ` ScalaPB ` | 1.0.0-alpha.1 |
488
486
489
487
## Usage with [ bazel-deps] ( https://github.com/johnynek/bazel-deps )
@@ -727,14 +725,12 @@ scala_config = use_extension(
727
725
" @rules_scala//scala/extensions:config.bzl" ,
728
726
" scala_config" ,
729
727
)
730
-
731
728
scala_config.settings(scala_version = " 2.13.16" )
732
729
733
730
scala_deps = use_extension(
734
731
" @rules_scala//scala/extensions:deps.bzl" ,
735
732
" scala_deps" ,
736
733
)
737
-
738
734
scala_deps.toolchains(
739
735
scalafmt = True ,
740
736
scalatest = True ,
@@ -789,7 +785,6 @@ scala_config = use_extension(
789
785
" @rules_scala//scala/extensions:config.bzl" ,
790
786
" scala_config" ,
791
787
)
792
-
793
788
use_repo(scala_config, io_bazel_rules_scala_config = " rules_scala_config" )
794
789
```
795
790
@@ -908,7 +903,7 @@ Under Bzlmod, repos are only visible to the module extension that creates them,
908
903
unless the ` MODULE.bazel ` file brings them into scope with
909
904
[ ` use_repo() ` ] ( https://bazel.build/rules/lib/globals/module#use_repo ) . This can
910
905
lead to errors like those from the following example, which [ originally called
911
- ` setup_scala_toolchain() ` under Bzlmod] (
906
+ ' setup_scala_toolchain()' under Bzlmod] (
912
907
https://github.com/michalbogacz/scala-bazel-monorepo/blob/17f0890a4345529e09b9ce83bcb2e3d15687c522/BUILD.bazel ):
913
908
914
909
``` py
@@ -1074,7 +1069,7 @@ https://github.com/scalapb/ScalaPB/releases/tag/v1.0.0-alpha.1), we had to
1074
1069
remove the Scala 2.11 test cases.
1075
1070
1076
1071
Building ` scala_proto ` for Scala 2.11 requires [ building with Bazel 6.5.0
1077
- under ` WORKSPACE ` ] ( #6.5.0 ) , with the maximum dependency versions specified in
1072
+ under WORKSPACE] ( #6.5.0 ) , with the maximum dependency versions specified in
1078
1073
that section. While this may continue to work for some time, it is not
1079
1074
officially supported.
1080
1075
0 commit comments