build.gradle.kts 621 B

12345678910111213141516171819202122232425
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("io.kubernetes")
  7. module.set("client-java-api")
  8. versions.set("[7.0.0,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. library("io.kubernetes:client-java-api:7.0.0")
  14. implementation(project(":instrumentation:okhttp:okhttp-3.0:javaagent"))
  15. testInstrumentation(project(":instrumentation:okhttp:okhttp-3.0:javaagent"))
  16. }
  17. tasks.withType<Test>().configureEach {
  18. // TODO run tests both with and without experimental span attributes
  19. jvmArgs("-Dotel.instrumentation.kubernetes-client.experimental-span-attributes=true")
  20. }