Use Firebase BOM

This commit is contained in:
Maxime NATUREL 2023-01-04 15:54:23 +01:00
parent c8595df658
commit 12ccf13171
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@ def gradle = "7.3.1"
def kotlin = "1.7.22"
def kotlinCoroutines = "1.6.4"
def dagger = "2.44.2"
def firebaseBom = "31.1.1"
def appDistribution = "16.0.0-beta05"
def retrofit = "2.9.0"
def markwon = "4.6.2"
@ -80,6 +81,8 @@ ext.libs = [
],
google : [
'material' : "com.google.android.material:material:1.7.0",
'firebaseBom' : "com.google.firebase:firebase-bom:$firebaseBom",
'messaging' : "com.google.firebase:firebase-messaging",
'appdistributionApi' : "com.google.firebase:firebase-appdistribution-api-ktx:$appDistribution",
'appdistribution' : "com.google.firebase:firebase-appdistribution:$appDistribution",
// Phone number https://github.com/google/libphonenumber

View File

@ -364,7 +364,8 @@ dependencies {
gplayImplementation "com.google.android.gms:play-services-location:21.0.1"
// UnifiedPush gplay flavor only
gplayImplementation('com.google.firebase:firebase-messaging:23.1.1') {
gplayImplementation platform(libs.google.firebaseBom)
gplayImplementation(libs.google.messaging) {
exclude group: 'com.google.firebase', module: 'firebase-core'
exclude group: 'com.google.firebase', module: 'firebase-analytics'
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'