Setup instructions are misleading? #308
Unanswered
chris-hatton
asked this question in
Q&A
Replies: 1 comment
-
Hmmm... I don't think I had to add the I'm not sure why we are experiencing a different behavior. What else might be different between our uses? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a relative newcomer to gRPC I found the setup instructions here are potentially misleading?
Consider the advice to set-up the Gradle plugin:
I found that while, yes, this setup causes the gRPC-Kotlin plugin to do it's own job of creating Kotlin Wrappers for Java classes, the depended-on Java classes are not generated until one also includes the 'original' built-in
id("java")
- so that for a complete working gRPC code generation, it's necessary to seebuiltins
configured as:Is this expected? If so, it should really be called out in the documentation that the Java built-in is still needed for a working setup even if that configuring that part itself it outside the scope of
grpc-kotlin
's documentation.If this isn't expected and the
kotlin
plugin should be calling through to Java generation implicitly; why might it fail to?Beta Was this translation helpful? Give feedback.
All reactions