build.gradle.kts 491 B

12345678910111213141516171819202122232425262728
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. coreJdk()
  7. }
  8. }
  9. otelJava {
  10. minJavaVersionSupported.set(JavaVersion.VERSION_11)
  11. }
  12. dependencies {
  13. implementation(project(":instrumentation:java-http-client:library"))
  14. testImplementation(project(":instrumentation:java-http-client:testing"))
  15. }
  16. tasks {
  17. val testStableSemconv by registering(Test::class) {
  18. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  19. }
  20. check {
  21. dependsOn(testStableSemconv)
  22. }
  23. }