27 lines
827 B
Groovy
27 lines
827 B
Groovy
plugins {
|
|
id("otel.javaagent-instrumentation")
|
|
}
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "com.amazonaws"
|
|
module = "aws-lambda-java-core"
|
|
versions = "[1.0.0,)"
|
|
extraDependency('com.amazonaws:aws-lambda-java-events:2.2.1')
|
|
extraDependency('com.amazonaws.serverless:aws-serverless-java-container-core:1.5.2')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':instrumentation:aws-lambda-1.0:library')
|
|
|
|
library "com.amazonaws:aws-lambda-java-core:1.0.0"
|
|
// First version to includes support for SQSEvent, currently the most popular message queue used
|
|
// with lambda.
|
|
// NB: 2.2.0 includes a class called SQSEvent but isn't usable due to it returning private classes
|
|
// in public API.
|
|
library "com.amazonaws:aws-lambda-java-events:2.2.1"
|
|
|
|
testImplementation project(':instrumentation:aws-lambda-1.0:testing')
|
|
}
|