build.gradle.kts 413 B

12345678910111213141516171819202122
  1. plugins {
  2. id("otel.library-instrumentation")
  3. id("otel.nullaway-conventions")
  4. }
  5. otelJava {
  6. minJavaVersionSupported.set(JavaVersion.VERSION_11)
  7. }
  8. dependencies {
  9. testImplementation(project(":instrumentation:java-http-client:testing"))
  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. }