blob: 54b0356e416af3466a205485e474a7f1cbf0f63a [file] [log] [blame]
group = 'io.opentelemetry.javaagent'
apply plugin: "otel.java-conventions"
apply plugin: "otel.publish-conventions"
configurations {
// classpath used by the instrumentation muzzle plugin
instrumentationMuzzle {
canBeConsumed = true
canBeResolved = false
extendsFrom api, implementation
}
}
dependencies {
api "run.mone:opentelemetry-sdk"
// metrics are unstable, do not expose as api
implementation "run.mone:opentelemetry-sdk-metrics"
api "net.bytebuddy:byte-buddy"
api "org.slf4j:slf4j-api"
implementation project(":instrumentation-api")
implementation project(":javaagent-api")
// TODO: ideally this module should not depend on bootstrap, bootstrap should be an internal component
implementation project(":javaagent-bootstrap")
instrumentationMuzzle sourceSets.main.output
}