diff --git a/src/ad/build.gradle b/src/ad/build.gradle index 0af438a3d4..48f3ff797d 100644 --- a/src/ad/build.gradle +++ b/src/ad/build.gradle @@ -16,11 +16,11 @@ description = 'Ad Service' group = "ad" version = "0.1.0-SNAPSHOT" -def opentelemetryVersion = "1.40.0" -def opentelemetryInstrumentationVersion = "2.6.0" -def grpcVersion = "1.65.1" -def jacksonVersion = "2.17.2" -def protocVersion = "3.25.3" +def opentelemetryVersion = "1.45.0" +def opentelemetryInstrumentationVersion = "2.11.0" +def grpcVersion = "1.69.0" +def jacksonVersion = "2.18.2" +def protocVersion = "4.29.2" tasks.withType(JavaCompile).configureEach { sourceCompatibility = JavaVersion.VERSION_21 @@ -40,7 +40,7 @@ dependencies { implementation platform("io.opentelemetry:opentelemetry-bom:${opentelemetryVersion}") implementation platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:${opentelemetryInstrumentationVersion}") - implementation "com.google.api.grpc:proto-google-common-protos:2.41.0", + implementation "com.google.api.grpc:proto-google-common-protos:2.50.1", "javax.annotation:javax.annotation-api:1.3.2", "io.grpc:grpc-protobuf:${grpcVersion}", "io.grpc:grpc-stub:${grpcVersion}", @@ -49,13 +49,13 @@ dependencies { "io.opentelemetry:opentelemetry-api", "io.opentelemetry:opentelemetry-sdk", "io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations", - "org.apache.logging.log4j:log4j-core:2.23.1", - "dev.openfeature.contrib.providers:flagd:0.8.4", - 'dev.openfeature:sdk:1.9.0' + "org.apache.logging.log4j:log4j-core:2.24.3", + "dev.openfeature.contrib.providers:flagd:0.10.5", + 'dev.openfeature:sdk:1.13.0' runtimeOnly "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}", "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}", - "io.netty:netty-tcnative-boringssl-static:2.0.65.Final" + "io.netty:netty-tcnative-boringssl-static:2.0.69.Final" } } diff --git a/src/fraud-detection/build.gradle.kts b/src/fraud-detection/build.gradle.kts index d1dcc07a6b..024aa6949e 100644 --- a/src/fraud-detection/build.gradle.kts +++ b/src/fraud-detection/build.gradle.kts @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import com.google.protobuf.gradle.* plugins { - kotlin("jvm") version "1.9.20" + kotlin("jvm") version "2.1.0" application id("java") id("idea") @@ -15,8 +15,8 @@ group = "io.opentelemetry" version = "1.0" -val grpcVersion = "1.59.0" -val protobufVersion = "3.25.0" +val grpcVersion = "1.69.0" +val protobufVersion = "4.29.2" repositories { @@ -30,20 +30,20 @@ dependencies { implementation("com.google.protobuf:protobuf-java:${protobufVersion}") testImplementation(kotlin("test")) implementation(kotlin("script-runtime")) - implementation("org.apache.kafka:kafka-clients:3.6.0") - implementation("com.google.api.grpc:proto-google-common-protos:2.28.0") + implementation("org.apache.kafka:kafka-clients:3.9.0") + implementation("com.google.api.grpc:proto-google-common-protos:2.50.1") implementation("io.grpc:grpc-protobuf:${grpcVersion}") implementation("io.grpc:grpc-stub:${grpcVersion}") implementation("io.grpc:grpc-netty:${grpcVersion}") implementation("io.grpc:grpc-services:${grpcVersion}") - implementation("io.opentelemetry:opentelemetry-api:1.38.0") - implementation("io.opentelemetry:opentelemetry-sdk:1.38.0") + implementation("io.opentelemetry:opentelemetry-api:1.45.0") + implementation("io.opentelemetry:opentelemetry-sdk:1.45.0") implementation("io.opentelemetry:opentelemetry-extension-annotations:1.18.0") - implementation("org.apache.logging.log4j:log4j-core:2.21.1") - implementation("org.slf4j:slf4j-api:2.0.9") + implementation("org.apache.logging.log4j:log4j-core:2.24.3") + implementation("org.slf4j:slf4j-api:2.0.16") implementation("com.google.protobuf:protobuf-kotlin:${protobufVersion}") - implementation("dev.openfeature:sdk:1.7.4") - implementation("dev.openfeature.contrib.providers:flagd:0.7.0") + implementation("dev.openfeature:sdk:1.13.0") + implementation("dev.openfeature.contrib.providers:flagd:0.10.5") if (JavaVersion.current().isJava9Compatible) { // Workaround for @javax.annotation.Generated