diff --git a/openai-java-bedrock/build.gradle.kts b/openai-java-bedrock/build.gradle.kts index b3b619039..239b369d4 100644 --- a/openai-java-bedrock/build.gradle.kts +++ b/openai-java-bedrock/build.gradle.kts @@ -13,7 +13,7 @@ dependencies { api("software.amazon.awssdk:regions") implementation("software.amazon.awssdk:http-client-spi") - implementation("com.squareup.okhttp3:okhttp:4.12.0") + implementation("com.squareup.okhttp3:okhttp:5.5.0") // Optional provider-chain branches loaded by the AWS SDK at runtime for web identity, // assume-role, console login, and IAM Identity Center profiles. diff --git a/openai-java-client-okhttp/build.gradle.kts b/openai-java-client-okhttp/build.gradle.kts index 397f90352..5c3c8e384 100644 --- a/openai-java-client-okhttp/build.gradle.kts +++ b/openai-java-client-okhttp/build.gradle.kts @@ -44,12 +44,12 @@ listOf(configurations.testCompileClasspath, configurations.testRuntimeClasspath) dependencies { api(project(":openai-java-core")) - api("com.squareup.okhttp3:okhttp:4.12.0") + api("com.squareup.okhttp3:okhttp:5.5.0") testImplementation(kotlin("test")) testRuntimeOnly("org.junit.platform:junit-platform-launcher") testImplementation("org.assertj:assertj-core:3.27.7") testImplementation(platform(libs.jackson.bom)) - testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") - testImplementation("com.squareup.okhttp3:okhttp-tls:4.12.0") + testImplementation("com.squareup.okhttp3:mockwebserver:5.5.0") + testImplementation("com.squareup.okhttp3:okhttp-tls:5.5.0") }