Skip to content

Commit 6797299

Browse files
committed
1 parent 02f6df5 commit 6797299

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

LogcatCrashlyticLib/build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
44
id 'maven-publish'
5+
id 'com.google.firebase.crashlytics'
56
}
67

78
android {
@@ -18,8 +19,13 @@ android {
1819

1920
dependencies {
2021
api project(':LogcatCoreLib')
21-
api 'com.google.firebase:firebase-analytics:21.2.0'
22-
api 'com.google.firebase:firebase-crashlytics:18.3.1'
22+
// 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'
2329
}
2430

2531
project.afterEvaluate {

0 commit comments

Comments
 (0)