diff --git a/WordPress/build.gradle b/WordPress/build.gradle index eccf6b78cca9..05431352288a 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -396,8 +396,8 @@ dependencies { implementation libs.wordPress.persistentEditText implementation "$gradle.ext.gravatarBinaryPath:$gravatarVersion" - implementation "com.google.android.play:app-update:$googlePlayInAppUpdateVersion" - implementation "com.google.android.play:app-update-ktx:$googlePlayInAppUpdateVersion" + implementation libs.android.appUpdate + implementation libs.android.appUpdateKtx implementation "androidx.arch.core:core-common:$androidxArchCoreVersion" implementation "androidx.arch.core:core-runtime:$androidxArchCoreVersion" diff --git a/build.gradle b/build.gradle index 2f42866ed6d0..2971cb997928 100644 --- a/build.gradle +++ b/build.gradle @@ -87,7 +87,6 @@ ext { squareupRetrofitVersion = '2.9.0' uCropVersion = '2.2.9' zendeskVersion = '5.1.2' - googlePlayInAppUpdateVersion = '2.1.0' // react native facebookReactVersion = '0.73.3' diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 537f63f90d90..ddfce2ecc694 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,9 +2,12 @@ androidxComposeNavigation = '2.7.6' androidxWebkit = '1.11.0' automatticRest = '1.0.8' +googlePlayAppUpdate = '2.1.0' wordPressPersistentEditText = '1.0.2' [libraries] +android-appUpdate = { group = "com.google.android.play", name = "app-update", version.ref = "googlePlayAppUpdate" } +android-appUpdateKtx = { group = "com.google.android.play", name = "app-update-ktx", version.ref = "googlePlayAppUpdate" } androidx-navigation = { group = "androidx.navigation", name = "navigation-compose", version.ref = "androidxComposeNavigation" } androidx-webkit = {group = "androidx.webkit", name = "webkit", version.ref = "androidxWebkit"} automattic-rest = { group = "com.automattic", name = "rest", version.ref = "automatticRest" }