build.gradle.kts 631 B

123456789101112131415161718192021222324
  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. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  15. }
  16. check {
  17. dependsOn(testStableSemconv)
  18. }
  19. }