build.gradle.kts 580 B

123456789101112131415161718192021222324
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. // Jetty client 9.2 is the best starting point, HttpClient.send() is stable there
  5. val jettyVers_base9 = "9.2.0.v20140526"
  6. dependencies {
  7. library("org.eclipse.jetty:jetty-client:$jettyVers_base9")
  8. testImplementation(project(":instrumentation:jetty-httpclient::jetty-httpclient-9.2:testing"))
  9. latestDepTestLibrary("org.eclipse.jetty:jetty-client:9.+")
  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. }