-
Notifications
You must be signed in to change notification settings - Fork 3.9k
java version "10.0.2" 2018-07-17 javax.annotation #4725
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
Comments
I think the Kotlin build.gradle file is missing |
@namsoila thanks for pointing out the issue! |
Thanks! |
We still need a fix to kotlin build.gradle in examples directory though. |
Sounds good. Version 1.3.2 is available. Is there a specific reason for 1.2?
|
The reason seemed to be that version 1.3.2 doesn't support Java 7. Once grpc stops supporting Java 7, we can bump it to 1.3.2. For your own project with JDK 10, no problem to use 1.3.2 |
Thanks. |
- add CI for kotlin non-android - bump kotlin version to fix kotlin compiler issue on jdk11 - add javax.annotation dep to fix kotlin build on jdk 9 & 11 Fixes #4725
gRPC version 1.14.0
Error has been referenced before:
#3633
When using java version "10.0.2" 2018-07-17 and building Kotlin example, receive the same error:
Have added the following dependency to resolve:
compile group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'
Is that the recommended solution?
Here is the previous
build.gradle
currently in the example:https://github.com/grpc/grpc-java/blob/master/examples/example-kotlin/build.gradle
Here is an updated
build.gradle
that runs without the error:The text was updated successfully, but these errors were encountered: