Hi! Does someone have a minimal setup to gradle k...
# grpc
c
Hi! Does someone have a minimal setup to gradle kotlin grpc? I tried this https://github.com/grpc/grpc-kotlin/blob/master/compiler/README.md but it doesn’t work because it miss coroutines depedency and also I have this error
@io.grpc.stub.annotations.GrpcGenerated
^
symbol:   class GrpcGenerated
location: package io.grpc.stub.annotations
d
have you looked at the examples?
c
Yes! I have, but I didn’t find a server side´s minimal setup
k
Try this and let me know
It has a gitsubmodule which contains the proto models
If you are interested in infrastructure and client, we have a workspace that contains starters for all - https://github.com/hwslabs/bar-service
d
The official examples aren't very good, I'd avoid them if possible. They basically document every possible way that you can create every possible type of server with every possible type of client (including Android) and they do it using a pretty complex nested Gradle structure. I have my own minimal client example but it needs to be cleaned up a bit, if I get that done I'll post a link.
290 Views