build.gradle.kts 509 B

123456789101112131415161718192021222324
  1. plugins {
  2. id("otel.library-instrumentation")
  3. id("otel.nullaway-conventions")
  4. }
  5. dependencies {
  6. library("com.linecorp.armeria:armeria:1.3.0")
  7. testImplementation(project(":instrumentation:armeria-1.3:testing"))
  8. }
  9. tasks {
  10. val testStableSemconv by registering(Test::class) {
  11. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  12. }
  13. withType<Test>().configureEach {
  14. systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
  15. }
  16. check {
  17. dependsOn(testStableSemconv)
  18. }
  19. }