25 lines
587 B
Plaintext
25 lines
587 B
Plaintext
plugins {
|
|
id("com.github.johnrengelman.shadow")
|
|
|
|
id("otel.java-conventions")
|
|
}
|
|
|
|
group = "io.opentelemetry.javaagent.instrumentation"
|
|
|
|
dependencies {
|
|
implementation("com.couchbase.client:tracing-opentelemetry:0.3.6")
|
|
}
|
|
|
|
tasks {
|
|
shadowJar {
|
|
dependencies {
|
|
// including only tracing-opentelemetry excludes its transitive dependencies
|
|
include(dependency("com.couchbase.client:tracing-opentelemetry"))
|
|
}
|
|
relocate("com.couchbase.client.tracing.opentelemetry", "com.couchbase.v3_1_6.client.tracing.opentelemetry")
|
|
}
|
|
|
|
assemble {
|
|
dependsOn(shadowJar)
|
|
}
|
|
} |