build.gradle.kts 433 B

123456789101112131415161718192021
  1. plugins {
  2. id("otel.library-instrumentation")
  3. id("otel.nullaway-conventions")
  4. id("otel.animalsniffer-conventions")
  5. }
  6. dependencies {
  7. library("com.squareup.okhttp3:okhttp:3.0.0")
  8. testImplementation(project(":instrumentation:okhttp:okhttp-3.0:testing"))
  9. }
  10. tasks {
  11. val testStableSemconv by registering(Test::class) {
  12. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  13. }
  14. check {
  15. dependsOn(testStableSemconv)
  16. }
  17. }