James Ward
James Ward
Can you try again with `0.2.0` and the new jar-based artifact: https://github.com/grpc/grpc-kotlin/blob/master/examples/build.gradle.kts#L47 And make sure you bump the `com.google.protobuf`plugin to `0.8.13`: https://github.com/grpc/grpc-kotlin/blob/master/examples/build.gradle.kts#L16
@debop Make sure you specify the plugin artifact like: ``` artifact = "io.grpc:protoc-gen-grpc-kotlin:0.2.0:jdk7@jar" ```
I think we do need better docs around this, but yeah, it is documented in a non-obvious place: https://github.com/grpc/grpc-kotlin/tree/master/compiler
You need to manually add the grpc-stub dependency, like: ``` implementation("io.grpc:grpc-stub:1.40.1") ``` We should look at bumping our deps to fix this.
Note sure. Maybe @lowasser knows. Also you may want to try a newer version than that.
Likely you are putting Kotlin build script code into a Groovy build file (`build.gradle` instead of `build.gradle.kts`) Can you switch to a `build.gradle.kts` file?
What was the reason for closing this?
@cmeiklejohn A little reproducible example project or failing test would be super helpful for this.
I think that the `generatedFilesBaseDir = "src/generated"` is causing an issue. What happens if you remove it?
This looks like a path issue (using forward and back slashes). What OS are you on?