-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support descriptor_set_in protoc option #251
Comments
If the idea is to support both flags, the behavior is from the underlying protoc compiler, and the enhancement idea should be discussed there: protocolbuffers/protobuf#3973 Are you trying to use descriptor_set_in alone for the gradle plugin? |
Sorry for not being more clear. I want to to be able to use descriptor_set_in from the gradle plugin. I was just documenting that descriptor_set_in and proto_path cannot be used together since it isn't clear from the descriptor_set_in documentation. |
I would much rather have this feature over copying my proto files across projects. Can we dig this issue back out of the 2018 Issue Graveyard? 😄 I have already started looking at the plugin source code but don't know gradle or groovy well enough to discern what types of changes to make. I think we have to divide the problem into two parts:
Could really some suggestions from the repo owners on this one. 🙏 |
Any news on this? |
--descriptor_set_in=FILES Specifies a delimited list of FILES
each containing a FileDescriptorSet (a
protocol buffer defined in descriptor.proto).
The FileDescriptor for each of the PROTO_FILES
provided will be loaded from these
FileDescriptorSets. If a FileDescriptor
appears multiple times, the first occurrence
will be used.
This option cannot be used with --protop_path: "Only one of --descriptor_set_in and --proto_path can be specified."
The text was updated successfully, but these errors were encountered: