Skip to content

Commit 745bab1

Browse files
committed
fix shading
1 parent 5e8f1d2 commit 745bab1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testing/proto-shaded-for-testing/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ tasks {
1212
shadowJar {
1313
relocate("io.opentelemetry.proto", "io.opentelemetry.testing.internal.proto")
1414
relocate("com.google.protobuf", "io.opentelemetry.testing.internal.protobuf")
15+
relocate("com.google.gson", "io.opentelemetry.testing.internal.gson")
16+
relocate("com.google.common", "io.opentelemetry.testing.internal.guava")
17+
18+
enableAutoRelocation = true
19+
relocationPrefix = "io.opentelemetry.testing.internal"
1520
}
1621

1722
val extractShadowJar by registering(Copy::class) {

0 commit comments

Comments
 (0)