build.gradle.kts 601 B

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