build.gradle.kts 881 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("com.linecorp.armeria")
  7. module.set("armeria")
  8. versions.set("[1.3.0,)")
  9. assertInverse.set(true)
  10. }
  11. }
  12. dependencies {
  13. implementation(project(":instrumentation:armeria-1.3:library"))
  14. testInstrumentation(project(":instrumentation:netty:netty-4.1:javaagent"))
  15. library("com.linecorp.armeria:armeria:1.3.0")
  16. testImplementation(project(":instrumentation:armeria-1.3:testing"))
  17. }
  18. tasks {
  19. val testStableSemconv by registering(Test::class) {
  20. filter {
  21. includeTestsMatching("ArmeriaHttpClientTest")
  22. }
  23. include("**/ArmeriaHttpClientTest.*")
  24. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  25. }
  26. withType<Test>().configureEach {
  27. systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
  28. }
  29. check {
  30. dependsOn(testStableSemconv)
  31. }
  32. }