-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (23 loc) · 939 Bytes
/
build.gradle
File metadata and controls
29 lines (23 loc) · 939 Bytes
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
muzzle {
pass {
group = "software.amazon.awssdk"
module = "s3"
versions = "[2,3)"
assertInverse = true
}
}
apply from: "$rootDir/gradle/java.gradle"
addTestSuiteForDir('latestDepTest', 'test')
addTestSuiteExtendingForDir('latestDepForkedTest', 'latestDepTest', 'test')
dependencies {
compileOnly group: 'software.amazon.awssdk', name: 's3', version: '2.29.26'
// Include httpclient instrumentation for testing because it is a dependency for aws-sdk.
testRuntimeOnly project(':dd-java-agent:instrumentation:apache-httpclient:apache-httpclient-4.0')
testRuntimeOnly project(':dd-java-agent:instrumentation:aws-java:aws-java-sdk-2.2')
testImplementation 'software.amazon.awssdk:s3:2.29.26'
testImplementation libs.testcontainers.localstack
latestDepTestImplementation group: 'software.amazon.awssdk', name: 's3', version: '+'
}
tasks.withType(Test).configureEach {
usesService(testcontainersLimit)
}