File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11common --enable_bzlmod
22# Use built-in protoc
3- common --incompatible_enable_proto_toolchain_resolution --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc
3+ common --incompatible_enable_proto_toolchain_resolution
4+ common --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=true
45
6+ # Ensure that we don't accidentally build protobuf or gRPC
7+ common --per_file_copt=external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT
8+ common --host_per_file_copt=external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT
9+ common --per_file_copt=external/.*grpc.*@--GRPC_WAS_NOT_SUPPOSED_TO_BE_BUILT
10+ common --host_per_file_copt=external/.*grpc.*@--GRPC_WAS_NOT_SUPPOSED_TO_BE_BUILT
511build --java_runtime_version=remotejdk_11
612build --java_language_version=11
713
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ This is an implementation detail. Clients should use 'java_lite_proto_cel_librar
2020load ("@rules_java//java:defs.bzl" , "java_library" )
2121load ("//publish:cel_version.bzl" , "CEL_VERSION" )
2222load ("@com_google_protobuf//bazel:java_lite_proto_library.bzl" , "java_lite_proto_library" )
23- load ("@rules_proto//proto:defs .bzl" , "ProtoInfo" )
23+ load ("@com_google_protobuf//bazel:proto_info .bzl" , "ProtoInfo" )
2424
2525def java_lite_proto_cel_library_impl (
2626 name ,
You can’t perform that action at this time.
0 commit comments