Skip to content

Commit

Permalink
fix(cli): make Cordova plugins use same default version as Capacitor
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Nov 7, 2024
1 parent bd8f0fd commit 10f4c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/android/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ if (hasProperty('postBuildExtras')) {
export async function handleCordovaPluginsGradle(config: Config, cordovaPlugins: Plugin[]): Promise<void> {
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[] = [];
Expand Down

0 comments on commit 10f4c43

Please sign in to comment.