From a4aeb55720ecc83b3870bf32bf9825d6aee4644f Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Mon, 11 Nov 2024 18:06:03 +0000 Subject: [PATCH] fix(cli): make Cordova plugins use same default kotlin version as Capacitor (#7752) --- cli/src/android/update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/android/update.ts b/cli/src/android/update.ts index 8e97adb3e..3e89d1b6b 100644 --- a/cli/src/android/update.ts +++ b/cli/src/android/update.ts @@ -226,7 +226,7 @@ if (hasProperty('postBuildExtras')) { export async function handleCordovaPluginsGradle(config: Config, cordovaPlugins: Plugin[]): Promise { const pluginsGradlePath = join(config.android.cordovaPluginsDirAbs, 'build.gradle'); const kotlinNeeded = await kotlinNeededCheck(config, cordovaPlugins); - const kotlinVersionString = config.app.extConfig.cordova?.preferences?.GradlePluginKotlinVersion ?? '1.8.20'; + const kotlinVersionString = config.app.extConfig.cordova?.preferences?.GradlePluginKotlinVersion ?? '1.9.10'; const frameworksArray: any[] = []; let prefsArray: any[] = []; const applyArray: any[] = [];