Skip to content

Commit 4c0a9f1

Browse files
committed
add missing module
1 parent 341ed6e commit 4c0a9f1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)