Skip to content

Gradle methods not updated for "getting-started-grpc" #8976

Description

@borah-hemanga

In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/endpoints/getting-started-grpc
While running: ./gradlew build

Did 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!

Activity

  1. added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    triage meI really want to be triaged.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Jan 15, 2024
  2. minherz commented on Jan 17, 2024

    @minherz
    Contributor

    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 version 8.5 which 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 to gradlew script instead (following our contribution guide).

  3. added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    and removed
    priority: p2Moderately-important priority. Fix may not be included in next release.
    triage meI really want to be triaged.
    on Jan 17, 2024
  4. borah-hemanga commented on Jan 23, 2024

    @borah-hemanga
    Author

    I started making changes, like changing compile to implementation. But, looks like there are other changes necessary, like configurations.compile.collect isn'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.

  5. removed their assignment
    on Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions