opentelemetry-java-instrume.../conventions/src/main/kotlin/otel.javaagent-testing.grad...

22 lines
561 B
Plaintext

plugins {
id("io.opentelemetry.instrumentation.javaagent-testing")
id("otel.java-conventions")
}
evaluationDependsOn(":testing:agent-for-testing")
dependencies {
annotationProcessor("com.google.auto.service:auto-service")
compileOnly("com.google.auto.service:auto-service")
testImplementation("org.testcontainers:testcontainers")
}
configurations.configureEach {
if (name.toLowerCase().endsWith("testruntimeclasspath")) {
// Added by agent, don't let Gradle bring it in when running tests.
exclude(module = "javaagent-bootstrap")
}
}