-
Notifications
You must be signed in to change notification settings - Fork 3.9k
update gradle to 7.6 #9802
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 actually was already working on a change to upgrade (I was waiting for #9790 and hadn't sent it out yet). Would you mind sharing why you were building grpc-java and with JDK 19? Were you just wanting to run our tests against JDK 19? |
I got a new machine so I was installing Java and picked the latest. 19 has been out for a few months already so was surprised it wasn't updated here. I was just doing the tutorial to learn it, not sure what tests you're referring to. I'm also not a Gradle expert so not sure if changing that distributionUrl is the proper way to update it. |
Oh, you were probably in the examples/ directory. Yeah, it would be good to get that working on newer JDK versions pretty soon. |
As normal, Android versions weren't touched as it tends to be special to upgrade. The errorprone plugin handles errorproneJavac for us now, since it hasn't changed in five years. VERSION_CATALOGS is already enabled by default and graduated out of preview. Fixes grpc#9802
As normal, Android versions weren't touched as it tends to be special to upgrade. The errorprone plugin handles errorproneJavac for us now, since it hasn't changed in five years. VERSION_CATALOGS is already enabled by default and graduated out of preview. Fixes #9802
Thx for updating. The quickstart page's git clone command still pulls the old Gradle version. How do we pull the update? |
@gelpenaddict, it will do so until we bump the version for the next release. |
What version of gRPC-Java are you using?
v1.51.1
What is your environment?
MacOS 13.1
JDK 19
What did you expect to see?
successful execution of
./gradlew installDist
What did you see instead?
Steps to reproduce the bug
./gradlew installDist
The solution was to update gradle
distrubtionUrl
's to:JDK19 support was added in Gradle 7.6: https://docs.gradle.org/7.6/release-notes.html
The text was updated successfully, but these errors were encountered: