rules_proto_grpc icon indicating copy to clipboard operation
rules_proto_grpc copied to clipboard

rules_proto_grpc_java generates V2 proto code instead V3

Open jduan-highnote opened this issue 1 year ago • 1 comments

Issue Description

I tried out the provided java example here https://github.com/rules-proto-grpc/rules_proto_grpc/blob/master/examples/java/java_grpc_compile/BUILD.bazel and bazel build thing_java_grpc generated java code that extends com.google.protobuf.GeneratedMessage which is old. It should have generated Java code that extends com.google.protobuf.GeneratedMessageV3.

Log Output

No response

rules_proto_grpc Version

from the latest main branch of this repo

Bazel Version

from the latest main branch of this repo

OS

MacOS Sonoma 14.6.1

Link to Demo Repo

No response

MODULE.bazel or WORKSPACE Content

I'm using this repo itself.

BUILD Content

No response

Proto Content

No response

Any Other Content

No response

jduan-highnote avatar Aug 23 '24 20:08 jduan-highnote