I'm trying to do the exact same thing that the examples are doing here:
https://github.com/grpc/grpc-kotlin/tree/master/examples
I have a project that has a unit test that compiles a proto -> stubs, and uses it. In the examples project, it's proto -> spec -> server. I don't want a GENERATED_SOURCES dir. I did the same thing the example did, and get the same error it does. From the command line, the server subProject finds the generated
DogGrpcKt.DogCoroutineImplBase
in the jar generated in the stubs project and compiles successfully. But intelliJ says no, and claims compile error. Is there any way around that? I like having the stub code 100% only existing in a jar, but it seems IK doesn't approve