diff --git a/android/app/build.gradle b/android/app/build.gradle index 8e73679..d770735 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -119,3 +119,15 @@ dependencies { implementation jscFlavor } } + +// Aikido flagged kotlin-stdlib 1.8.21 (AIKIDO-2026-188556, AIKIDO-2026-550292) and +// koin-core 3.5.6 (AIKIDO-2025-10040) pulled in transitively via analyticssdk. Force +// resolution to the patched versions until analyticssdk republishes with the fix. +// kotlin-stdlib is forced to rootProject.ext.kotlinVersion, not a hardcoded literal, +// so it can never drift out of lockstep with the Kotlin Gradle plugin version. +configurations.configureEach { + resolutionStrategy { + force "org.jetbrains.kotlin:kotlin-stdlib:${rootProject.ext.kotlinVersion}" + force "io.insert-koin:koin-core:4.0.2" + } +} diff --git a/android/build.gradle b/android/build.gradle index a9ea023..bd72bfc 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,7 +5,9 @@ buildscript { compileSdkVersion = 35 targetSdkVersion = 34 ndkVersion = "26.1.10909125" - kotlinVersion = "1.9.24" + // Kept in lockstep with the kotlin-stdlib force in app/build.gradle — + // a plugin/stdlib version mismatch causes ABI/metadata errors at build time. + kotlinVersion = "2.4.20" } repositories { google()