diff --git a/WordPress/build.gradle b/WordPress/build.gradle index bc075c580eec..785c7b333d26 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -523,12 +523,12 @@ dependencies { lintChecks "org.wordpress:lint:$wordPressLintVersion" // Firebase - def firebaseBom = platform("com.google.firebase:firebase-bom:$firebaseBomVersion") + def firebaseBom = platform(libs.firebase.bom) implementation(firebaseBom) // Firebase - Main - implementation "com.google.firebase:firebase-messaging" + implementation libs.firebase.messaging // Firebase - Deprecated - implementation "com.google.firebase:firebase-iid:$firebaseIidVersion" + implementation libs.firebase.iid // Jetpack Compose def composeBom = platform("androidx.compose:compose-bom:$androidxComposeBomVersion") diff --git a/build.gradle b/build.gradle index 7da3dcf74439..f8620482e2b2 100644 --- a/build.gradle +++ b/build.gradle @@ -39,8 +39,6 @@ ext { androidxGridlayoutVersion = '1.0.0' androidxViewpager2Version = '1.0.0' coilComposeVersion = '2.4.0' - firebaseBomVersion = '32.1.0' - firebaseIidVersion = '21.1.0' googleAutoServiceVersion = '1.0.1' googleExoPlayerVersion = '2.13.3' googlePlayServicesCodeScannerVersion = '16.0.0-beta3' diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2d2e8148d05e..69fb015b4c51 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -29,6 +29,8 @@ dagger = '2.50' eventBus = '3.3.1' facebookReact = '0.73.3' facebookShimmer = '0.5.0' +firebaseBom = '32.1.0' +firebaseIid = '21.1.0' flipper = '0.245.0' glide = '4.16.0' googleFlexbox = '3.0.0' @@ -136,6 +138,9 @@ facebook-react-hermesAndroid = { group = "com.facebook.react", name = "hermes-an facebook-shimmer = { group = "com.facebook.shimmer", name = "shimmer", version.ref ="facebookShimmer" } facebook-soLoader = { group = "com.facebook.soloader", name = "soloader", version.ref ="soLoader" } fastlane-screengrab = { group = "tools.fastlane", name = "screengrab", version.ref ="screengrab" } +firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "firebaseBom"} +firebase-iid = { group = "com.google.firebase", name = "firebase-iid", version.ref ="firebaseIid" } +firebase-messaging = { module = "com.google.firebase:firebase-messaging" } glide = { group = "com.github.bumptech.glide", name = "glide", version.ref ="glide" } glide-ksp = { group = "com.github.bumptech.glide", name = "ksp", version.ref ="glide" } glide-volley-integration = { group = "com.github.bumptech.glide", name = "volley-integration", version.ref ="glide" }