build.gradle.kts 554 B

1234567891011121314151617181920212223242526272829
  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. withType<Test>().configureEach {
  16. systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
  17. }
  18. val testStableSemconv by registering(Test::class) {
  19. jvmArgs("-Dotel.semconv-stability.opt-in=http")
  20. }
  21. check {
  22. dependsOn(testStableSemconv)
  23. }
  24. }