build.gradle.kts 447 B

1234567891011121314151617
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. dependencies {
  5. library("org.apache.logging.log4j:log4j-core:2.17.0")
  6. testImplementation("io.opentelemetry:opentelemetry-sdk-testing")
  7. if (findProperty("testLatestDeps") as Boolean) {
  8. testCompileOnly("biz.aQute.bnd:biz.aQute.bnd.annotation:7.0.0")
  9. }
  10. }
  11. tasks.withType<Test>().configureEach {
  12. jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
  13. }