Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc-kotlin-stub version is not same grpc version #224

Closed
amondnet opened this issue Jun 22, 2021 · 5 comments
Closed

grpc-kotlin-stub version is not same grpc version #224

amondnet opened this issue Jun 22, 2021 · 5 comments
Labels
bug Auto-generates notes
Milestone

Comments

@amondnet
Copy link

Error:

Could not find io.grpc:grpc-kotlin-stub:1.38.0.

https://github.com/grpc/grpc-kotlin is 1.1.0
https://github.com/grpc/grpc-java is 3.8.0

grpc-kotlin and grpc-java have the same group id ("io.grpc"), could not resolve grpc-kotlin-stub.

@jvmlet
Copy link
Collaborator

jvmlet commented Jun 22, 2021

Thanks for reporting, will be fixed

@jvmlet jvmlet added this to the 4.5.5 milestone Jun 22, 2021
@jvmlet jvmlet added the bug Auto-generates notes label Jun 22, 2021
@jvmlet
Copy link
Collaborator

jvmlet commented Jun 22, 2021

@amondnet , btw, in kotlin project, do you still use grpc java protoc plugin or there is grpc kotlin protoc plugin ?

@amondnet
Copy link
Author

@jvmlet I use both.
https://github.com/grpc/grpc-kotlin/tree/master/compiler

protobuf {
    protoc {
        artifact = "com.google.protobuf:protoc:SOME_VERSION"
    }
    plugins {
        id("grpc") {
            artifact = "io.grpc:protoc-gen-grpc-java:SOME_VERSION"
        }
        id("grpckt") {
            artifact = "io.grpc:protoc-gen-grpc-kotlin:SOME_VERSION:jdk7@jar"
        }
    }
    generateProtoTasks {
        ofSourceSet("main").forEach {
            it.plugins {
                id("grpc")
                id("grpckt")
            }
        }
    }
}

@jvmlet jvmlet closed this as completed in cde2fcf Jul 1, 2021
@jvmlet
Copy link
Collaborator

jvmlet commented Jul 1, 2021

@amondnet , can you please try with 4.5.5-SNAPSHOT

@jvmlet
Copy link
Collaborator

jvmlet commented Jul 1, 2021

@amondnet , 4.5.5 was released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Auto-generates notes
Projects
None yet
Development

No branches or pull requests

2 participants