We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab9ba5f + 6797299 commit a4bb6a5Copy full SHA for a4bb6a5
1 file changed
LogcatCrashlyticLib/build.gradle
@@ -2,6 +2,7 @@ plugins {
2
id 'com.android.library'
3
id 'kotlin-android'
4
id 'maven-publish'
5
+ id 'com.google.firebase.crashlytics'
6
}
7
8
android {
@@ -18,8 +19,13 @@ android {
18
19
20
dependencies {
21
api project(':LogcatCoreLib')
- api 'com.google.firebase:firebase-analytics:21.2.0'
22
- api 'com.google.firebase:firebase-crashlytics:18.3.1'
+ // Import the BoM for the Firebase platform
23
+ api platform('com.google.firebase:firebase-bom:31.1.0')
24
+
25
+ // Add the dependencies for the Crashlytics and Analytics libraries
26
+ // When using the BoM, you don't specify versions in Firebase library dependencies
27
+ api 'com.google.firebase:firebase-crashlytics'
28
+ api 'com.google.firebase:firebase-analytics-ktx'
29
30
31
project.afterEvaluate {
0 commit comments