build.gradle.kts 640 B

1234567891011121314151617181920
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. dependencies {
  5. compileOnly(project(":instrumentation:java-util-logging:shaded-stub-for-instrumenting"))
  6. compileOnly(project(":instrumentation-appender-api-internal"))
  7. compileOnly(project(":javaagent-bootstrap"))
  8. // ensure no cross interference
  9. testInstrumentation(project(":instrumentation:jboss-logmanager-1.1:javaagent"))
  10. testImplementation("org.awaitility:awaitility")
  11. }
  12. tasks.withType<Test>().configureEach {
  13. // TODO run tests both with and without experimental log attributes
  14. jvmArgs("-Dotel.instrumentation.java-util-logging.experimental-log-attributes=true")
  15. }