We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 341ed6e commit 4c0a9f1Copy full SHA for 4c0a9f1
testing/proto-shaded-for-testing/build.gradle.kts
@@ -0,0 +1,21 @@
1
+plugins {
2
+ id("com.gradleup.shadow")
3
+ id("otel.java-conventions")
4
+}
5
+
6
+dependencies {
7
+ implementation("io.opentelemetry.proto:opentelemetry-proto")
8
9
10
+tasks {
11
+ shadowJar {
12
+ relocate("com.google.protobuf", "io.opentelemetry.proto.internal.protobuf")
13
+ }
14
15
+ val extractShadowJar by registering(Copy::class) {
16
+ dependsOn(shadowJar)
17
+ from(zipTree(shadowJar.get().archiveFile))
18
+ into("build/extracted/shadow")
19
+ includeEmptyDirs = false
20
21
0 commit comments