Update Firebase Crashlytics and Gradle plugins.

- Added the new Firebase Android BoM (Bill of Materials), to easily manage Firebase libraries: https://firebase.google.com/docs/android/learn-more#bom.
- Updated the Gradle, Google Services and Crashlytics gradle plugins.
This commit is contained in:
Severiano Jaramillo 2021-03-23 21:27:49 -07:00
parent be5c9bcea7
commit dd1bf98e5d
2 changed files with 7 additions and 6 deletions

View file

@ -59,7 +59,6 @@ android {
useLibrary 'android.test.runner' useLibrary 'android.test.runner'
useLibrary 'android.test.base' useLibrary 'android.test.base'
useLibrary 'android.test.mock' useLibrary 'android.test.mock'
} }
dependencies { dependencies {
@ -108,8 +107,10 @@ dependencies {
implementation 'com.squareup.okhttp3:logging-interceptor:4.2.0' implementation 'com.squareup.okhttp3:logging-interceptor:4.2.0'
implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0' implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
//Firebase //Firebase
implementation 'com.google.firebase:firebase-analytics:18.0.2' implementation platform('com.google.firebase:firebase-bom:26.7.0') // Import the BoM for the Firebase platform
implementation 'com.google.firebase:firebase-crashlytics:17.3.1' implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation 'com.google.firebase:firebase-analytics-ktx'
// CSV generation // CSV generation
implementation 'com.opencsv:opencsv:3.7' implementation 'com.opencsv:opencsv:3.7'
// Others // Others

View file

@ -13,11 +13,11 @@ buildscript {
maven { url 'https://plugins.gradle.org/m2/' } maven { url 'https://plugins.gradle.org/m2/' }
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.1.2' classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath 'com.google.gms:google-services:4.3.4' classpath 'com.google.gms:google-services:4.3.5'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files