30 lines
750 B
Plaintext
30 lines
750 B
Plaintext
plugins {
|
|
id("otel.java-conventions")
|
|
id("otel.publish-conventions")
|
|
}
|
|
|
|
group = "io.opentelemetry.javaagent"
|
|
|
|
val instrumentationMuzzle by configurations.creating {
|
|
isCanBeConsumed = true
|
|
isCanBeResolved = false
|
|
// TODO(anuraaga): Should be compileClasspath?
|
|
extendsFrom(configurations.api.get())
|
|
extendsFrom(configurations.implementation.get())
|
|
}
|
|
|
|
dependencies {
|
|
api("io.opentelemetry:opentelemetry-sdk")
|
|
|
|
api("net.bytebuddy:byte-buddy")
|
|
api("org.slf4j:slf4j-api")
|
|
|
|
implementation(project(":instrumentation-api"))
|
|
implementation(project(":javaagent-api"))
|
|
|
|
// metrics are unstable, do not expose as api
|
|
implementation("io.opentelemetry:opentelemetry-sdk-metrics")
|
|
|
|
instrumentationMuzzle(sourceSets.main.get().output)
|
|
}
|