Skip to content

Commit

Permalink
Deps: Migrated firebase to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 6, 2024
1 parent 3161eb5 commit 9e4cd6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 5 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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" }
Expand Down

0 comments on commit 9e4cd6e

Please sign in to comment.