From d640638911e29409e5d170eb9a157956438d25ec Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Thu, 19 Dec 2024 12:21:26 +0100 Subject: [PATCH] chore(cli): bump source/target Compatibility to 21 (#7786) --- capacitor-cordova-android-plugins/build.gradle | 4 ++-- cli/src/android/update.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/capacitor-cordova-android-plugins/build.gradle b/capacitor-cordova-android-plugins/build.gradle index 932a6b5c6..2331d41c1 100644 --- a/capacitor-cordova-android-plugins/build.gradle +++ b/capacitor-cordova-android-plugins/build.gradle @@ -28,8 +28,8 @@ android { abortOnError false } compileOptions { - sourceCompatibility JavaVersion.VERSION_17 - targetCompatibility JavaVersion.VERSION_17 + sourceCompatibility JavaVersion.VERSION_21 + targetCompatibility JavaVersion.VERSION_21 } } diff --git a/cli/src/android/update.ts b/cli/src/android/update.ts index 8afc9080f..edb975a43 100644 --- a/cli/src/android/update.ts +++ b/cli/src/android/update.ts @@ -198,8 +198,8 @@ project(':${getGradlePackageName(p.id)}').projectDir = new File('${relativePlugi android { compileOptions { - sourceCompatibility JavaVersion.VERSION_17 - targetCompatibility JavaVersion.VERSION_17 + sourceCompatibility JavaVersion.VERSION_21 + targetCompatibility JavaVersion.VERSION_21 } }