Skip to content

Commit 687d63d

Browse files
chore(android): update Gradle dependencies to latest versions (#61)
* chore(android): update gradle dependencies in plugin * chore(android): update Gradle dependencies in example-app-capacitor * chore(android): use variable for `kotlinCoroutinesVersion`
1 parent ee876f7 commit 687d63d

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

packages/capacitor-plugin/android/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
ext {
22
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
4-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
5-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
3+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
4+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
5+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
66
playServicesLocationVersion = project.hasProperty('playServicesLocationVersion') ? rootProject.ext.playServicesLocationVersion : '21.3.0'
7+
kotlinxCoroutinesVersion = project.hasProperty('kotlinxCoroutinesVersion') ? rootProject.ext.kotlinxCoroutinesVersion : '1.10.2'
78
}
89

910
buildscript {
@@ -62,8 +63,8 @@ dependencies {
6263
implementation project(':capacitor-android')
6364
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
6465

65-
implementation 'com.google.code.gson:gson:2.10.1'
66-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.6.4")
66+
implementation 'com.google.code.gson:gson:2.13.2'
67+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$kotlinxCoroutinesVersion")
6768
implementation "com.google.android.gms:play-services-location:$playServicesLocationVersion"
6869

6970
testImplementation "junit:junit:$junitVersion"

packages/example-app-capacitor/android/variables.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ ext {
33
compileSdkVersion = 36
44
targetSdkVersion = 36
55
androidxActivityVersion = '1.8.0'
6-
androidxAppCompatVersion = '1.7.0'
7-
androidxCoordinatorLayoutVersion = '1.2.0'
6+
androidxAppCompatVersion = '1.7.1'
7+
androidxCoordinatorLayoutVersion = '1.3.0'
88
androidxCoreVersion = '1.12.0'
99
androidxFragmentVersion = '1.6.2'
10-
coreSplashScreenVersion = '1.0.1'
10+
coreSplashScreenVersion = '1.2.0'
1111
androidxWebkitVersion = '1.9.0'
1212
junitVersion = '4.13.2'
13-
androidxJunitVersion = '1.1.5'
14-
androidxEspressoCoreVersion = '3.5.1'
13+
androidxJunitVersion = '1.3.0'
14+
androidxEspressoCoreVersion = '3.7.0'
1515
cordovaAndroidVersion = '10.1.1'
1616
}

0 commit comments

Comments
 (0)