build.gradle.kts 566 B

1234567891011121314151617181920212223
  1. plugins {
  2. id("otel.library-instrumentation")
  3. id("otel.nullaway-conventions")
  4. id("otel.animalsniffer-conventions")
  5. }
  6. dependencies {
  7. library("org.apache.httpcomponents:httpclient:4.3")
  8. testImplementation(project(":instrumentation:apache-httpclient:apache-httpclient-4.3:testing"))
  9. latestDepTestLibrary("org.apache.httpcomponents:httpclient:4.+") // see apache-httpclient-5.0 module
  10. }
  11. tasks {
  12. val testStableSemconv by registering(Test::class) {
  13. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  14. }
  15. check {
  16. dependsOn(testStableSemconv)
  17. }
  18. }