Skip to content

Commit d434817

Browse files
authored
Restore protoc version (#3)
Motiviation: The gRPC example currently fails to build due to missing version for `protoc` executable. This version is not received from including the `servicetalk-dependencies` BOM and must be explicitly specified in this context. Modifications: Restore `protobufVersion` property and use it for version of `protoc`. Result: gRPC example builds correctly.
1 parent b803717 commit d434817

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ servicetalkVersion=0.42.11
2222

2323
# gRPC
2424
protobufGradlePluginVersion=0.8.18
25+
protobufVersion=3.21.0
2526

Diff for: grpc/helloworld/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies {
3636

3737
protobuf {
3838
protoc {
39-
artifact = "com.google.protobuf:protoc"
39+
artifact = "com.google.protobuf:protoc:$protobufVersion"
4040
}
4141

4242
plugins {

0 commit comments

Comments
 (0)