-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (27 loc) · 1.28 KB
/
build.gradle
File metadata and controls
33 lines (27 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
muzzle {
pass {
group = "com.amazonaws"
module = "aws-java-sdk-sns"
versions = "[1.12.113,2)"
assertInverse = true
}
}
apply from: "$rootDir/gradle/java.gradle"
addTestSuiteForDir('latestDepTest', 'test')
addTestSuiteExtendingForDir('latestDepForkedTest', 'latestDepTest', 'test')
dependencies {
compileOnly group: 'com.amazonaws', name: 'aws-java-sdk-sns', version: '1.12.710'
testImplementation project(':dd-java-agent:instrumentation:aws-java:aws-java-common')
// Include httpclient instrumentation for testing because it is a dependency for aws-sdk.
testImplementation project(':dd-java-agent:instrumentation:apache-httpclient:apache-httpclient-4.0')
testImplementation project(':dd-java-agent:instrumentation:aws-java:aws-java-sdk-1.11')
testImplementation group: 'com.amazonaws', name: 'aws-java-sdk-sns', version: '1.12.710'
// SQS is used to act as the "Subscriber" of the SNS topic.
// There's a problem with sqs sdk v1 with localstack+testcontainers testing. so use sdk v2 for sqs
testImplementation 'software.amazon.awssdk:sqs:2.25.40'
testImplementation libs.testcontainers.localstack
latestDepTestImplementation group: 'com.amazonaws', name: 'aws-java-sdk-sns', version: '+'
}
tasks.withType(Test).configureEach {
usesService(testcontainersLimit)
}