Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openai-java-bedrock/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions openai-java-client-okhttp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid forcing Android consumers onto compileSdk 37

For Gradle Android consumers, this multiplatform coordinate now selects okhttp-android:5.5.0, whose AAR metadata requires compileSdk 37; applications still compiling against API 36 or earlier therefore fail checkDebugAarMetadata merely by upgrading this SDK. OkHttp's 5.x changelog confirms that Gradle selects a separate Android artifact and that 5.5.0 adds API-37-specific platform support. Preserve an Android-compatible version or explicitly treat and test this as an Android build-floor increase; the current JVM-only compatibility probes select okhttp-jvm and cannot detect it.

Useful? React with 👍 / 👎.


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")
}
Loading