Dagger-gRPC server annotation processor

Viewed 134

I'm trying to use Dagger in a java gRPC service project. I've been following the official documentation of Dagger for creating gRPC servers available here: gRPC servers with Dagger. Upon building, Dagger should automatically create auto generated classes from the used annotation (@GrpcService). Unfortunately, I can't get the program to auto generate the needed classes when I compile.

I'm using "dagger-grpc-server" maven dependency version 2.28.1 and gRPC version 1.30.2. Also, I tried adding "dagger-grpc-server-processor" version 2.28.1 to the annotationProcessorPaths once, and I tried adding "dagger-grpc-server-annotations" version 2.28.1 to the annotationProcessorPaths, but neither of them worked.

The goal is to get dagger to automatically create the generated files during compilation. Which plugins am I missing?

Reference to the open issue on Dagger project: Issue 2157

0 Answers
Related