opentelemetry-java-instrume.../gradle/instrumentation-library.gradle

23 lines
664 B
Groovy

group = 'io.opentelemetry.instrumentation'
apply from: "$rootDir/gradle/java.gradle"
apply from: "$rootDir/gradle/publish.gradle"
archivesBaseName = projectDir.parentFile.name
dependencies {
// TODO(anuraaga): We currently include common instrumentation logic like decorators in the
// bootstrap, but we need to move it out so manual instrumentation does not depend on code from
// the agent, like Agent.
api(project(':auto-bootstrap')) {
exclude group: 'org.slf4j', module: 'slf4j-simple'
}
api deps.opentelemetryApi
testImplementation project(':testing-common')
}
afterEvaluate {
archivesBaseName = 'opentelemetry-' + archivesBaseName
}