26 lines
805 B
Groovy
26 lines
805 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "software.amazon.awssdk"
|
|
module = "aws-core"
|
|
versions = "[2.2.0,)"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':instrumentation:aws-sdk:aws-sdk-2.2:library')
|
|
|
|
library group: 'software.amazon.awssdk', name: 'aws-core', version: '2.2.0'
|
|
|
|
testImplementation project(':instrumentation:aws-sdk:aws-sdk-2.2:testing')
|
|
// Make sure these don't add HTTP headers
|
|
testImplementation project(':instrumentation:apache-httpclient:apache-httpclient-4.0:javaagent')
|
|
testImplementation project(':instrumentation:netty:netty-4.1:javaagent')
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
// TODO run tests both with and without experimental span attributes
|
|
jvmArgs "-Dotel.instrumentation.aws-sdk.experimental-span-attributes=true"
|
|
}
|