build.gradle.kts 854 B

123456789101112131415161718192021222324252627282930
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("org.jboss.logmanager")
  7. module.set("jboss-logmanager")
  8. versions.set("[1.1.0.GA,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("org.jboss.logmanager:jboss-logmanager:1.1.0.GA")
  14. compileOnly(project(":instrumentation-appender-api-internal"))
  15. compileOnly(project(":javaagent-bootstrap"))
  16. // ensure no cross interference
  17. testInstrumentation(project(":instrumentation:java-util-logging:javaagent"))
  18. testImplementation("org.awaitility:awaitility")
  19. }
  20. tasks.withType<Test>().configureEach {
  21. // TODO run tests both with and without experimental log attributes
  22. jvmArgs("-Dotel.instrumentation.jboss-logmanager.experimental.capture-mdc-attributes=*")
  23. jvmArgs("-Dotel.instrumentation.jboss-logmanager.experimental-log-attributes=true")
  24. }