25 lines
767 B
Groovy
25 lines
767 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = 'com.twilio.sdk'
|
|
module = 'twilio'
|
|
// this is first version in maven central (there's a 0.0.1 but that is really 7.14.4)
|
|
versions = "[6.6.9,8.0.0)"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library group: 'com.twilio.sdk', name: 'twilio', version: '6.6.9'
|
|
|
|
// included to make sure the apache httpclient nested spans are suppressed
|
|
testInstrumentation project(':instrumentation:apache-httpclient:apache-httpclient-4.0:javaagent')
|
|
|
|
latestDepTestLibrary group: 'com.twilio.sdk', name: 'twilio', version: '7.+'
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs "-Dotel.instrumentation.twilio.experimental-span-attributes=true"
|
|
}
|