build.gradle.kts 662 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. // the JBoss instrumentation in this artifact is needed
  8. // for jboss-logmanager versions 1.1.0.GA through latest 2.x
  9. testLibrary("org.jboss.logmanager:jboss-logmanager:1.1.0.GA")
  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. }