47 lines
2.2 KiB
Groovy
47 lines
2.2 KiB
Groovy
ext {
|
|
minJavaVersionForTests = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
apply from: "$rootDir/gradle/java.gradle"
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
testSets {
|
|
latestDepTest
|
|
}
|
|
|
|
dependencies {
|
|
// TODO(anuraaga): We currently include common instrumentation logic like decorators in the
|
|
// bootstrap, but we need to move it out so manual instrumentation does not depend on code from
|
|
// the agent, like Agent.
|
|
api project(':auto-bootstrap')
|
|
|
|
api deps.opentelemetryApi
|
|
|
|
api group: 'software.amazon.awssdk', name: 'aws-core', version: '2.2.0'
|
|
|
|
testCompile project(':testing')
|
|
|
|
// Include httpclient instrumentation for testing because it is a dependency for aws-sdk.
|
|
testCompile project(':instrumentation:apache-httpclient:apache-httpclient-4.0')
|
|
// Also include netty instrumentation because it is used by aws async client
|
|
testCompile project(':instrumentation:netty:netty-4.1')
|
|
testCompile group: 'software.amazon.awssdk', name: 'apache-client', version: '2.2.0'
|
|
testCompile group: 'software.amazon.awssdk', name: 's3', version: '2.2.0'
|
|
testCompile group: 'software.amazon.awssdk', name: 'rds', version: '2.2.0'
|
|
testCompile group: 'software.amazon.awssdk', name: 'ec2', version: '2.2.0'
|
|
testCompile group: 'software.amazon.awssdk', name: 'sqs', version: '2.2.0'
|
|
testCompile group: 'software.amazon.awssdk', name: 'dynamodb', version: '2.2.0'
|
|
testCompile group: 'software.amazon.awssdk', name: 'kinesis', version: '2.2.0'
|
|
|
|
latestDepTestCompile project(':instrumentation:apache-httpclient:apache-httpclient-4.0')
|
|
latestDepTestCompile project(':instrumentation:netty:netty-4.1')
|
|
|
|
latestDepTestCompile group: 'software.amazon.awssdk', name: 'apache-client', version: '+'
|
|
latestDepTestCompile group: 'software.amazon.awssdk', name: 's3', version: '+'
|
|
latestDepTestCompile group: 'software.amazon.awssdk', name: 'rds', version: '+'
|
|
latestDepTestCompile group: 'software.amazon.awssdk', name: 'ec2', version: '+'
|
|
latestDepTestCompile group: 'software.amazon.awssdk', name: 'sqs', version: '+'
|
|
latestDepTestCompile group: 'software.amazon.awssdk', name: 'dynamodb', version: '+'
|
|
latestDepTestCompile group: 'software.amazon.awssdk', name: 'kinesis', version: '+'
|
|
}
|