GrpcClient beans in multi-module project #31788
-
I have a project which consists of two projects. Project A is a module containing shared stuff about grpc and generated code for grpc protos. Project B depends on project B. But unfortunately, I can't find a way to use beans generated in Project A in project B particularly GrpcClient which should be used as bean. @GrpcClient
ClientService service; I have also tried using Instance as described here: how-to-resolve-multi-module-classpath-beans-in-quarkus, but this doesn't work either. NOTE: I'm using gradle. I tried using beans.xml and yandex plugin but no luck. I have found out that you can specify
But I don't know how to use this with multi-module project. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
/cc @alesj (grpc), @cescoffier (grpc) |
Beta Was this translation helpful? Give feedback.
-
The recommendation would be to copy the proto file in the various projects. What kind of project is ProjectA? |
Beta Was this translation helpful? Give feedback.
The recommendation would be to copy the proto file in the various projects. What kind of project is ProjectA?