| 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 |
| } |