Skip to content

Commit e5274a6

Browse files
committed
Make firestore multidex
1 parent a37f506 commit e5274a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

firebase-firestore/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ android {
1111
defaultConfig {
1212
minSdkVersion(property("minSdkVersion") as Int)
1313
targetSdkVersion(property("targetSdkVersion") as Int)
14+
setMultiDexEnabled(true)
1415
}
1516
sourceSets {
1617
getByName("main") {
@@ -26,6 +27,7 @@ android {
2627
pickFirst("META-INF/kotlinx-serialization-runtime.kotlin_module")
2728
pickFirst("META-INF/AL2.0")
2829
pickFirst("META-INF/LGPL2.1")
30+
pickFirst("androidsupportmultidexversion.txt")
2931
}
3032
}
3133

@@ -61,6 +63,7 @@ kotlin {
6163
val androidMain by getting {
6264
dependencies {
6365
api("com.google.firebase:firebase-firestore:21.4.3")
66+
implementation("com.android.support:multidex:1.0.3")
6467
}
6568
}
6669

0 commit comments

Comments
 (0)