google / google/protobuf-gradle-plugin

Infer protoc version from protobuf version automatically

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
1.8k
Forks
288
PR merge metrics
No merged PRs in 30d

Description

Because `protoc` generated code uses Protobuf internal API which doesn't have any stability guarantee, the version of `protoc` should always exactly match that of the protobuf runtime. We should make the protobuf plugin decide what version of protoc to use based the version of protobuf/protobuf-nano in the java compile dependencies, unless the user has explicitly specified a particular protoc version or binary.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.