Skip to content

Commit abb1deb

Browse files
Add proto-google-common-protos to temporal-shaded (#1912)
1 parent 2f5fdf1 commit abb1deb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

temporal-shaded/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
2121
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jdk8"
2222

23-
//test server
23+
// test server
2424
implementation "com.cronutils:cron-utils:${cronUtilsVersion}"
2525

2626
// grpc wants perfmark and we don't want to shade it
@@ -54,6 +54,7 @@ dependencies {
5454
shadow "io.grpc:grpc-stub:$grpcVersion"
5555
shadow "io.grpc:grpc-netty-shaded:$grpcVersion"
5656
shadow "io.grpc:grpc-services:$grpcVersion"
57+
shadow "com.google.api.grpc:proto-google-common-protos:2.9.0"
5758
}
5859

5960
// to have a fine grain control, we spell out what we include
@@ -64,7 +65,8 @@ configurations.shadow {
6465
shadowJar {
6566
configurations = [project.configurations.shadow]
6667

67-
relocate 'gogoproto', 'io.temporal.shaded.gogoproto' //protobuf
68+
relocate 'gogoproto', 'io.temporal.shaded.gogoproto' // protobuf
69+
relocate 'com.google.rpc', 'io.temporal.shaded.com.google.rpc' // StatusUtils
6870
relocate 'com.google.protobuf', 'io.temporal.shaded.com.google.protobuf'
6971
relocate 'com.google.common', 'io.temporal.shaded.com.google.common' // guava
7072
relocate 'com.google.thirdparty', 'io.temporal.shaded.com.google.thirdparty' // guava

0 commit comments

Comments
 (0)