google / google/protobuf-gradle-plugin

Allow control of protoc and grpc version via BOMs

Open
#412 12 comments 10 reactions 0 assignees View on GitHub
enhancement
Dominant language
Groovy
Stars
1.8k
Forks
288
PR merge metrics
No merged PRs in 30d

Description

Both protobuf and grpc publish BOM files that can be applied to a Gradle build to manage the dependency versions.

```groovy
dependencies {
api platform("io.grpc:grpc-bom:$grpcVersion")
api platform("com.google.protobuf:protobuf-bom:$protobufJavaVersion")
....
}
```

However it seems you have to hard code the version numbers in use via the `artifact` setting in the plugin. It would be good if there was a way to manage the versions of the plugin via the incorporated BOM file.

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.