From dd1bf98e5dc579332cd70a11e526bf0869fb73f6 Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Tue, 23 Mar 2021 21:27:49 -0700 Subject: [PATCH] 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. --- app/build.gradle | 7 ++++--- build.gradle | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0ef4c63..63a2808 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -59,7 +59,6 @@ android { useLibrary 'android.test.runner' useLibrary 'android.test.base' useLibrary 'android.test.mock' - } dependencies { @@ -108,8 +107,10 @@ dependencies { implementation 'com.squareup.okhttp3:logging-interceptor:4.2.0' implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0' //Firebase - implementation 'com.google.firebase:firebase-analytics:18.0.2' - implementation 'com.google.firebase:firebase-crashlytics:17.3.1' + implementation platform('com.google.firebase:firebase-bom:26.7.0') // Import the BoM for the Firebase platform + implementation 'com.google.firebase:firebase-crashlytics-ktx' + implementation 'com.google.firebase:firebase-analytics-ktx' + // CSV generation implementation 'com.opencsv:opencsv:3.7' // Others diff --git a/build.gradle b/build.gradle index 12b9d34..b5ae386 100644 --- a/build.gradle +++ b/build.gradle @@ -13,11 +13,11 @@ buildscript { maven { url 'https://plugins.gradle.org/m2/' } } 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 "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" - classpath 'com.google.gms:google-services:4.3.4' - classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1' + classpath 'com.google.gms:google-services:4.3.5' + classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files