-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (26 loc) · 1.14 KB
/
build.gradle
File metadata and controls
32 lines (26 loc) · 1.14 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
muzzle {
pass {
group = "software.amazon.awssdk"
module = "sns"
versions = "[2.17.84,3)"
assertInverse = true
}
}
apply from: "$rootDir/gradle/java.gradle"
addTestSuiteForDir('latestDepTest', 'test')
addTestSuiteExtendingForDir('latestDepForkedTest', 'latestDepTest', 'test')
dependencies {
compileOnly group: 'software.amazon.awssdk', name: 'sns', version: '2.25.40'
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-2.2')
testImplementation 'software.amazon.awssdk:sns:2.25.40'
// SQS is used to act as the "Subscriber" of the SNS topic.
testImplementation 'software.amazon.awssdk:sqs:2.25.40'
testImplementation libs.testcontainers.localstack
latestDepTestImplementation group: 'software.amazon.awssdk', name: 'sns', version: '+'
}
tasks.withType(Test).configureEach {
usesService(testcontainersLimit)
}