Repository navigation
Gradle methods not updated for "getting-started-grpc" #8976
Copy link
Copy link
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Activity
- addedpriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
on Jan 15, 2024 - addedsamplesIssues that are directly related to samples.Issues that are directly related to samples.
on Jan 15, 2024 Hello @borah-hemanga, thank you for reporting the issue. Are you referencing the version of the gradle CLI?
I checked the sample you reference and it uses gradle version8.5which is the latest version of the gradle.
Would you mind to share what you did to update the gradle methods to the newer version? You can also submit the change togradlewscript instead (following our contribution guide).- addedpriority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.and removedpriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.triage meI really want to be triaged.I really want to be triaged.
on Jan 17, 2024 I started making changes, like changing
compiletoimplementation. But, looks like there are other changes necessary, likeconfigurations.compile.collectisn't present in the newer version either.Anyway, I gave up on gRPC and just used HTTP instead.
But, it would be nice for other users if the gRPC sample worked out of the box.
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
In which file did you encounter the issue?
https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/endpoints/getting-started-grpc
While running:
./gradlew buildDid you change the file? If so, how?
Did not change the file.
Describe the issue
I tried setting up the package to try out running the grpc example locally. The first command fails.
The reason is that the gradle methods are not updated to the newer version.
(Tried to fix it myself, but everyone trying this out will run into this, and it is a waste of time for everyone fixing the methods.)
Thanks!