Skip to content

Commit 4ba09ee

Browse files
committed
Fix protoc compiling for the grpc-observability example.
1 parent e950299 commit 4ba09ee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/grpc-observability/proto/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ plugins {
1818
}
1919

2020
protobuf {
21+
protoc {
22+
artifact = "com.google.protobuf:protoc:${protobufVersion}"
23+
}
2124
plugins {
2225
grpc {
23-
artifact = "io.grpc:protoc-gen-grpc-java"
26+
artifact = "io.grpc:protoc-gen-grpc-java:${grpcVersion}"
2427
}
2528
}
2629
generateProtoTasks {

0 commit comments

Comments
 (0)