diff --git a/android/capacitor/build.gradle b/android/capacitor/build.gradle index 72719f2a2..d9a4f486c 100644 --- a/android/capacitor/build.gradle +++ b/android/capacitor/build.gradle @@ -13,6 +13,7 @@ ext { buildscript { + ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '1.8.20' repositories { google() mavenCentral() @@ -75,6 +76,7 @@ repositories { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation platform("org.jetbrains.kotlin:kotlin-bom:$kotlin_version") implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" implementation "androidx.core:core:$androidxCoreVersion" implementation "androidx.activity:activity:$androidxActivityVersion"