build.gradle.kts 434 B

12345678910111213141516171819202122232425
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("org.apache.httpcomponents.client5")
  7. module.set("httpclient5")
  8. versions.set("[5.0,)")
  9. }
  10. }
  11. dependencies {
  12. library("org.apache.httpcomponents.client5:httpclient5:5.0")
  13. }
  14. tasks {
  15. val testStableSemconv by registering(Test::class) {
  16. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  17. }
  18. check {
  19. dependsOn(testStableSemconv)
  20. }
  21. }