Skip to content

chore(deps): upgrade protoc-gen-grpc-java to 1.81.0 on macOS/arm64#220

Open
0xbigapple wants to merge 2 commits into
tronprotocol:release_1.0.0from
0xbigapple:chore/upgrade-protoc-gen-grpc-java
Open

chore(deps): upgrade protoc-gen-grpc-java to 1.81.0 on macOS/arm64#220
0xbigapple wants to merge 2 commits into
tronprotocol:release_1.0.0from
0xbigapple:chore/upgrade-protoc-gen-grpc-java

Conversation

@0xbigapple

Copy link
Copy Markdown
Collaborator

What does this PR do?

  • build.gradle: add OS/arch detection and move protocGenVersion into the root ext block, resolving
    it per platform:
    • macOS or arm64 hosts → 1.81.0 (matches the runtime grpcVersion)
    • others → keep 1.60.0 for CentOS 7 compatibility
  • core/build.gradle: read protocGenVersion from the root ext block instead of a locally hardcoded value.

Why are these changes required?

This PR has been tested by:

  • Unit Tests

Follow up

Extra details

Keep 1.60.0 on x86 Linux/Windows because grpc-java 1.64.x+ dropped
CentOS 7 support. On macOS and arm64 hosts 1.60.0 ships no native
aarch64 codegen binary, so resolve 1.81.0 there instead.
@0xbigapple
0xbigapple requested review from 317787106 and kuny0707 July 23, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants