From 3a27fcfa7a0d8f27b8ec336a08bb2ae346beccd7 Mon Sep 17 00:00:00 2001 From: TGazica Date: Wed, 25 Mar 2026 13:52:02 +0100 Subject: [PATCH] Bump okhttp, kotlin and java target version --- FlagsmithClient/build.gradle.kts | 11 ++++------- build.gradle.kts | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/FlagsmithClient/build.gradle.kts b/FlagsmithClient/build.gradle.kts index 265d3d9..1be0472 100644 --- a/FlagsmithClient/build.gradle.kts +++ b/FlagsmithClient/build.gradle.kts @@ -58,11 +58,8 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - } - kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } testOptions { @@ -79,8 +76,8 @@ dependencies { implementation("com.squareup.retrofit2:converter-gson:2.9.0") // Server Sent Events - implementation("com.squareup.okhttp3:okhttp-sse:4.11.0") - testImplementation("com.squareup.okhttp3:okhttp-sse:4.11.0") + implementation("com.squareup.okhttp3:okhttp-sse:5.3.2") + testImplementation("com.squareup.okhttp3:okhttp-sse:5.3.2") testImplementation("junit:junit:4.13.2") testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4") diff --git a/build.gradle.kts b/build.gradle.kts index 224d82e..189a142 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ plugins { id("com.android.application").version("8.5.1").apply(false) id("com.android.library").version("8.5.1").apply(false) - kotlin("android").version("1.8.0").apply(false) + kotlin("android").version("2.3.20").apply(false) id("org.jetbrains.kotlinx.kover").version("0.6.1").apply(false) id("com.vanniktech.maven.publish").version("0.29.0")