/* * Copyright The OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ apply from: "$rootDir/gradle/instrumentation.gradle" 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 group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '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 group: 'com.amazonaws', name: 'aws-lambda-java-events', version: '2.2.1' testImplementation project(':instrumentation:aws-lambda-1.0:testing') }