build.gradle.kts 738 B

1234567891011121314151617181920212223242526
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("com.twilio.sdk")
  7. module.set("twilio")
  8. // this is first version in maven central (there's a 0.0.1 but that is really 7.14.4)
  9. versions.set("[6.6.9,8.0.0)")
  10. }
  11. }
  12. dependencies {
  13. library("com.twilio.sdk:twilio:6.6.9")
  14. // included to make sure the apache httpclient nested spans are suppressed
  15. testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-4.0:javaagent"))
  16. latestDepTestLibrary("com.twilio.sdk:twilio:7.+")
  17. }
  18. tasks.withType<Test>().configureEach {
  19. // TODO run tests both with and without experimental span attributes
  20. jvmArgs("-Dotel.instrumentation.twilio.experimental-span-attributes=true")
  21. }