build.gradle.kts 725 B

1234567891011121314151617181920212223242526272829
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. dependencies {
  5. library("io.netty:netty-codec-http:4.1.0.Final")
  6. implementation(project(":instrumentation:netty:netty-4-common:library"))
  7. implementation(project(":instrumentation:netty:netty-common:library"))
  8. compileOnly("com.google.auto.value:auto-value-annotations")
  9. annotationProcessor("com.google.auto.value:auto-value")
  10. testImplementation(project(":instrumentation:netty:netty-4.1:testing"))
  11. }
  12. tasks {
  13. val testStableSemconv by registering(Test::class) {
  14. filter {
  15. includeTestsMatching("*ClientTest")
  16. }
  17. include("**/*ClientTest.*")
  18. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  19. }
  20. check {
  21. dependsOn(testStableSemconv)
  22. }
  23. }