build.gradle.kts 602 B

1234567891011121314151617181920212223
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("io.dropwizard")
  7. module.set("dropwizard-views")
  8. versions.set("(,3.0.0)")
  9. }
  10. }
  11. dependencies {
  12. compileOnly("io.dropwizard:dropwizard-views:0.7.0")
  13. testImplementation("io.dropwizard:dropwizard-views-freemarker:0.7.0")
  14. testImplementation("io.dropwizard:dropwizard-views-mustache:0.7.0")
  15. }
  16. tasks.withType<Test>().configureEach {
  17. jvmArgs("-Dotel.instrumentation.common.experimental.view-telemetry.enabled=true")
  18. jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
  19. }