Skip to content

Commit

Permalink
Update Java to OTel 1.5 (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga committed Aug 31, 2021
1 parent f0d3c10 commit 18c6329
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions java/build.gradle.kts
Expand Up @@ -24,8 +24,8 @@ spotless {
}

dependencies {
compileOnly(platform("io.opentelemetry:opentelemetry-bom:1.4.1"))
compileOnly(platform("io.opentelemetry:opentelemetry-bom-alpha:1.4.1-alpha"))
compileOnly(platform("io.opentelemetry:opentelemetry-bom:1.5.0"))
compileOnly(platform("io.opentelemetry:opentelemetry-bom-alpha:1.5.0-alpha"))
// Already included in wrapper so compileOnly
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-aws")
Expand Down
2 changes: 1 addition & 1 deletion java/build.sh
Expand Up @@ -17,7 +17,7 @@ cp ./build/libs/aws-otel-lambda-java-extensions.jar ../opentelemetry-lambda/java

cd ../opentelemetry-lambda/java || exit

./gradlew build -Potel.lambda.javaagent.dependency=software.amazon.opentelemetry:aws-opentelemetry-agent:1.4.1
./gradlew build -Potel.lambda.javaagent.dependency=software.amazon.opentelemetry:aws-opentelemetry-agent:1.5.0

# Combine the layers

Expand Down

0 comments on commit 18c6329

Please sign in to comment.