Avoid downloading so many AWS dependencies for the entire SDK

Only specify the deps we need for the tests.
This commit is contained in:
Tyler Benson 2019-01-04 13:42:51 -08:00
parent 7b720e2f1e
commit 93116e4e12
1 changed files with 9 additions and 3 deletions

View File

@ -49,13 +49,19 @@ dependencies {
testCompile project(':dd-java-agent:testing')
// Include httpclient instrumentation for testing because it is a dependency for aws-sdk.
testCompile project(':dd-java-agent:instrumentation:apache-httpclient-4')
testCompile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.11.0'
testCompile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.0'
testCompile group: 'com.amazonaws', name: 'aws-java-sdk-rds', version: '1.11.0'
testCompile group: 'com.amazonaws', name: 'aws-java-sdk-ec2', version: '1.11.0'
test_1_11_106Compile project(':dd-java-agent:testing')
test_1_11_106Compile project(':dd-java-agent:instrumentation:apache-httpclient-4')
test_1_11_106Compile group: 'com.amazonaws', name: 'aws-java-sdk', version: '1.11.106'
test_1_11_106Compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.106'
test_1_11_106Compile group: 'com.amazonaws', name: 'aws-java-sdk-rds', version: '1.11.106'
test_1_11_106Compile group: 'com.amazonaws', name: 'aws-java-sdk-ec2', version: '1.11.106'
latestDepTestCompile project(':dd-java-agent:testing')
latestDepTestCompile project(':dd-java-agent:instrumentation:apache-httpclient-4')
latestDepTestCompile group: 'com.amazonaws', name: 'aws-java-sdk', version: '+'
latestDepTestCompile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '+'
latestDepTestCompile group: 'com.amazonaws', name: 'aws-java-sdk-rds', version: '+'
latestDepTestCompile group: 'com.amazonaws', name: 'aws-java-sdk-ec2', version: '+'
}