build.gradle.kts 640 B

1234567891011121314151617181920212223242526272829303132
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("com.squareup.okhttp3")
  7. module.set("okhttp")
  8. versions.set("[3.0,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. bootstrap(project(":instrumentation:executors:bootstrap"))
  14. implementation(project(":instrumentation:okhttp:okhttp-3.0:library"))
  15. library("com.squareup.okhttp3:okhttp:3.0.0")
  16. testImplementation(project(":instrumentation:okhttp:okhttp-3.0:testing"))
  17. }
  18. tasks {
  19. val testStableSemconv by registering(Test::class) {
  20. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  21. }
  22. check {
  23. dependsOn(testStableSemconv)
  24. }
  25. }