From d4f2e6931689f8e33cdf5e846eb2e49d5e2c6281 Mon Sep 17 00:00:00 2001 From: Alexandre Jacinto Date: Fri, 7 Nov 2025 14:26:14 -0400 Subject: [PATCH 1/3] chore(android): update gradle dependencies in plugin --- packages/capacitor-plugin/android/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/capacitor-plugin/android/build.gradle b/packages/capacitor-plugin/android/build.gradle index 27b6a12..1ef6257 100644 --- a/packages/capacitor-plugin/android/build.gradle +++ b/packages/capacitor-plugin/android/build.gradle @@ -1,8 +1,8 @@ ext { junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0' playServicesLocationVersion = project.hasProperty('playServicesLocationVersion') ? rootProject.ext.playServicesLocationVersion : '21.3.0' } @@ -62,8 +62,8 @@ dependencies { implementation project(':capacitor-android') implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" - implementation 'com.google.code.gson:gson:2.10.1' - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.6.4") + implementation 'com.google.code.gson:gson:2.13.2' + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.10.2") implementation "com.google.android.gms:play-services-location:$playServicesLocationVersion" testImplementation "junit:junit:$junitVersion" From ab9598a4415933091d8ae728e92b90e69009d514 Mon Sep 17 00:00:00 2001 From: Alexandre Jacinto Date: Fri, 7 Nov 2025 14:26:35 -0400 Subject: [PATCH 2/3] chore(android): update Gradle dependencies in example-app-capacitor --- .../example-app-capacitor/android/variables.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/example-app-capacitor/android/variables.gradle b/packages/example-app-capacitor/android/variables.gradle index 4ee142e..5661d71 100644 --- a/packages/example-app-capacitor/android/variables.gradle +++ b/packages/example-app-capacitor/android/variables.gradle @@ -3,14 +3,14 @@ ext { compileSdkVersion = 36 targetSdkVersion = 36 androidxActivityVersion = '1.8.0' - androidxAppCompatVersion = '1.7.0' - androidxCoordinatorLayoutVersion = '1.2.0' + androidxAppCompatVersion = '1.7.1' + androidxCoordinatorLayoutVersion = '1.3.0' androidxCoreVersion = '1.12.0' androidxFragmentVersion = '1.6.2' - coreSplashScreenVersion = '1.0.1' + coreSplashScreenVersion = '1.2.0' androidxWebkitVersion = '1.9.0' junitVersion = '4.13.2' - androidxJunitVersion = '1.1.5' - androidxEspressoCoreVersion = '3.5.1' + androidxJunitVersion = '1.3.0' + androidxEspressoCoreVersion = '3.7.0' cordovaAndroidVersion = '10.1.1' } \ No newline at end of file From 8d6d9c3ef5c55c9e84d6d99bf55a013cf1f06b7d Mon Sep 17 00:00:00 2001 From: Alexandre Jacinto Date: Mon, 10 Nov 2025 09:48:37 -0400 Subject: [PATCH 3/3] chore(android): use variable for `kotlinCoroutinesVersion` --- packages/capacitor-plugin/android/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/capacitor-plugin/android/build.gradle b/packages/capacitor-plugin/android/build.gradle index 1ef6257..e1e9a7e 100644 --- a/packages/capacitor-plugin/android/build.gradle +++ b/packages/capacitor-plugin/android/build.gradle @@ -4,6 +4,7 @@ ext { androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0' androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0' playServicesLocationVersion = project.hasProperty('playServicesLocationVersion') ? rootProject.ext.playServicesLocationVersion : '21.3.0' + kotlinxCoroutinesVersion = project.hasProperty('kotlinxCoroutinesVersion') ? rootProject.ext.kotlinxCoroutinesVersion : '1.10.2' } buildscript { @@ -63,7 +64,7 @@ dependencies { implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion" implementation 'com.google.code.gson:gson:2.13.2' - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.10.2") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$kotlinxCoroutinesVersion") implementation "com.google.android.gms:play-services-location:$playServicesLocationVersion" testImplementation "junit:junit:$junitVersion"