build.gradle.kts 986 B

12345678910111213141516171819202122232425262728293031
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("ch.qos.logback")
  7. module.set("logback-classic")
  8. versions.set("[0.9.16,)")
  9. skip("0.9.6") // has dependency on SNAPSHOT org.slf4j:slf4j-api:1.4.0-SNAPSHOT
  10. skip("0.8") // has dependency on non-existent org.slf4j:slf4j-api:1.1.0-RC0
  11. skip("0.6") // has dependency on pom only javax.jms:jms:1.1
  12. assertInverse.set(true)
  13. }
  14. }
  15. dependencies {
  16. library("ch.qos.logback:logback-classic:0.9.16")
  17. compileOnly(project(":instrumentation-appender-api-internal"))
  18. implementation(project(":instrumentation:logback:logback-appender-1.0:library"))
  19. testImplementation("org.awaitility:awaitility")
  20. }
  21. tasks.withType<Test>().configureEach {
  22. // TODO run tests both with and without experimental log attributes
  23. jvmArgs("-Dotel.instrumentation.logback-appender.experimental.capture-mdc-attributes=*")
  24. jvmArgs("-Dotel.instrumentation.logback-appender.experimental-log-attributes=true")
  25. }