Skip to content

Commit 8723e6c

Browse files
committed
🔧 Crashlytics 의존성 추가
1 parent 1ae3ccf commit 8723e6c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ plugins {
33
id "org.jetbrains.kotlin.android"
44
id "kotlin-kapt"
55
id "dagger.hilt.android.plugin"
6+
id "com.google.firebase.crashlytics"
67
}
78

89
android {
@@ -65,4 +66,10 @@ dependencies {
6566
// Hilt Worker with Kotlin
6667
implementation "androidx.hilt:hilt-work:$hiltWorkerVersion"
6768
kapt "androidx.hilt:hilt-compiler:$hiltCompilerVersion"
69+
70+
// BoM for the Firebase platform
71+
implementation platform('com.google.firebase:firebase-bom:31.1.0')
72+
73+
// Crashlytics
74+
implementation 'com.google.firebase:firebase-crashlytics'
6875
}

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ buildscript {
3434
workManagerVersion = "2.7.1"
3535
hiltWorkerVersion = "1.0.0"
3636
hiltCompilerVersion = "1.0.0"
37+
crashlyticsVersion = "2.9.2"
3738
}
3839
dependencies {
3940
classpath "com.google.gms:google-services:$googleServiceVersion"
4041
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navVersion"
42+
classpath "com.google.firebase:firebase-crashlytics-gradle:$crashlyticsVersion"
4143
}
4244
}
4345

0 commit comments

Comments
 (0)