diff --git a/sample-apps/java-sample-app/auto/build.gradle.kts b/sample-apps/java-sample-app/auto/build.gradle.kts index c3c706a8..cde88b96 100644 --- a/sample-apps/java-sample-app/auto/build.gradle.kts +++ b/sample-apps/java-sample-app/auto/build.gradle.kts @@ -33,7 +33,7 @@ repositories { } -val javaAgent = "software.amazon.opentelemetry:aws-opentelemetry-agent:1.32.0" +val javaAgent = "software.amazon.opentelemetry:aws-opentelemetry-agent:1.32.3" val javaAgentVersion = javaAgent.split(":").get(2) jib { diff --git a/sample-apps/java-sample-app/base/build.gradle.kts b/sample-apps/java-sample-app/base/build.gradle.kts index 2aa3ebd5..2422c311 100644 --- a/sample-apps/java-sample-app/base/build.gradle.kts +++ b/sample-apps/java-sample-app/base/build.gradle.kts @@ -23,20 +23,20 @@ repositories { dependencies { // Used to have access to the APIs - api("io.opentelemetry:opentelemetry-api:1.33.0") + api("io.opentelemetry:opentelemetry-api:1.41.0") // Third party libraries used in this application // Exposed to dependent modules api("com.sparkjava:spark-core:2.9.4") api("com.squareup.okhttp3:okhttp:4.12.0") - api(platform("software.amazon.awssdk:bom:2.22.9")) + api(platform("software.amazon.awssdk:bom:2.27.8")) api("software.amazon.awssdk:s3") // Not exposed to dependent modules implementation("org.yaml:snakeyaml:2.2") - implementation("org.apache.logging.log4j:log4j-api:2.22.1") - implementation("org.apache.logging.log4j:log4j-core:2.22.1") - implementation("org.slf4j:slf4j-simple:2.0.10") + implementation("org.apache.logging.log4j:log4j-api:2.23.1") + implementation("org.apache.logging.log4j:log4j-core:2.23.1") + implementation("org.slf4j:slf4j-simple:2.0.16") } diff --git a/sample-apps/java-sample-app/extension/build.gradle.kts b/sample-apps/java-sample-app/extension/build.gradle.kts index c8e71b92..023fcb91 100644 --- a/sample-apps/java-sample-app/extension/build.gradle.kts +++ b/sample-apps/java-sample-app/extension/build.gradle.kts @@ -7,14 +7,14 @@ repositories { mavenCentral() } dependencies { - testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.1") - testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.1") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.0") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.0") compileOnly("com.google.auto.service:auto-service:1.1.1") annotationProcessor("com.google.auto.service:auto-service:1.1.1") - compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi:1.33.0") - compileOnly("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api:1.32.0") - compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api:1.32.0-alpha") + compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi:1.41.0") + compileOnly("io.opentelemetry.instrumentation:opentelemetry-instrumentation-api:2.7.0") + compileOnly("io.opentelemetry.javaagent:opentelemetry-javaagent-extension-api:2.7.0-alpha") compileOnly("io.opentelemetry:opentelemetry-semconv:1.30.1-alpha") } diff --git a/sample-apps/java-sample-app/manual/build.gradle.kts b/sample-apps/java-sample-app/manual/build.gradle.kts index ca915d56..6e387f1c 100644 --- a/sample-apps/java-sample-app/manual/build.gradle.kts +++ b/sample-apps/java-sample-app/manual/build.gradle.kts @@ -45,7 +45,7 @@ jib { dependencies { // OpenTelemetry APIs and SDKs - implementation(platform("io.opentelemetry:opentelemetry-bom:1.33.0")) + implementation(platform("io.opentelemetry:opentelemetry-bom:1.41.0")) implementation("io.opentelemetry:opentelemetry-api") implementation("io.opentelemetry:opentelemetry-sdk") @@ -53,27 +53,27 @@ dependencies { implementation("io.opentelemetry:opentelemetry-exporter-otlp") // OpenTelemetry Aws Xray dependencies - implementation("io.opentelemetry.contrib:opentelemetry-aws-xray-propagator:1.32.0-alpha") - implementation("io.opentelemetry.contrib:opentelemetry-aws-xray:1.32.0") + implementation("io.opentelemetry.contrib:opentelemetry-aws-xray-propagator:1.38.0-alpha") + implementation("io.opentelemetry.contrib:opentelemetry-aws-xray:1.38.0") // OpenTelemetry AWS SDK Library Instrumentation - implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:1.32.0-alpha")) + implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.7.0-alpha")) implementation("io.opentelemetry.instrumentation:opentelemetry-aws-sdk-2.2") // Opentelemetry OkHttp Library Instrumentation - implementation("io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0:1.32.0-alpha") + implementation("io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0:2.7.0-alpha") implementation(project(":base")) constraints { - implementation("com.fasterxml.jackson:jackson-bom:2.16.1") { + implementation("com.fasterxml.jackson:jackson-bom:2.17.2") { because("bom used upstream is problematic. https://github.com/FasterXML/jackson-bom/issues/52#issuecomment-1292883281") } } - implementation("org.apache.logging.log4j:log4j-api:2.22.1") - implementation("org.apache.logging.log4j:log4j-core:2.22.1") - implementation("org.slf4j:slf4j-simple:2.0.10") + implementation("org.apache.logging.log4j:log4j-api:2.23.1") + implementation("org.apache.logging.log4j:log4j-core:2.23.1") + implementation("org.slf4j:slf4j-simple:2.0.16") } diff --git a/sample-apps/java-sample-app/settings.gradle.kts b/sample-apps/java-sample-app/settings.gradle.kts index 65db2fc0..11f31fa1 100644 --- a/sample-apps/java-sample-app/settings.gradle.kts +++ b/sample-apps/java-sample-app/settings.gradle.kts @@ -17,7 +17,7 @@ rootProject.name = "java-sample-app" pluginManagement { plugins { - id("com.google.cloud.tools.jib") version "3.4.0" + id("com.google.cloud.tools.jib") version "3.4.3" } }