Skip to content

Commit

Permalink
Added the Firebase Android BoM (Bill of Materials) enables you to man…
Browse files Browse the repository at this point in the history
…age all your Firebase library versions.
  • Loading branch information
siarhei-luskanau committed Sep 1, 2024
1 parent 8d15e3c commit 4a1c27c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea/
.gradle/
.kotlin/
build/
*.iml
/local.properties
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ dependencies {
testImplementation(libs.kotlinx.coroutines.swing)
testImplementation(libs.kotlinx.coroutines.play.services)
// firebase aars
aar(platform(libs.google.firebase.bom))
aar(libs.google.firebase.firestore)
aar(libs.google.firebase.functions)
aar(libs.google.firebase.database)
Expand Down
12 changes: 7 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[versions]
androidx-lifecycle = "2.9.0-alpha01"
ben-manes-versions = "0.51.0"
google-firebase-bom = "32.7.2"
io-grpc = "1.66.0"
jlleitschuh-ktlint = "12.1.1"
kotlin = "2.0.20"
Expand All @@ -12,11 +13,12 @@ ktlint = "0.47.1"
androidx-collection = { module = "androidx.collection:collection", version = "1.4.3" }
androidx-lifecycle-common = { module = "androidx.lifecycle:lifecycle-common", version.ref = "androidx-lifecycle" }
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel", version.ref = "androidx-lifecycle" }
google-firebase-config = { module = "com.google.firebase:firebase-config", version = "21.6.0" }
google-firebase-database = { module = "com.google.firebase:firebase-database", version = "20.3.0" }
google-firebase-firestore = { module = "com.google.firebase:firebase-firestore", version = "24.10.0" }
google-firebase-functions = { module = "com.google.firebase:firebase-functions", version = "20.4.0" }
google-firebase-installations = { module = "com.google.firebase:firebase-installations", version = "17.2.0" }
google-firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "google-firebase-bom" }
google-firebase-config = { module = "com.google.firebase:firebase-config" }
google-firebase-database = { module = "com.google.firebase:firebase-database" }
google-firebase-firestore = { module = "com.google.firebase:firebase-firestore" }
google-firebase-functions = { module = "com.google.firebase:firebase-functions" }
google-firebase-installations = { module = "com.google.firebase:firebase-installations" }
io-grpc-okhttp = { module = "io.grpc:grpc-okhttp", version.ref = "io-grpc" }
io-grpc-protobuf-lite = { module = "io.grpc:grpc-protobuf-lite", version.ref = "io-grpc" }
io-grpc-stub = { module = "io.grpc:grpc-stub", version.ref = "io-grpc" }
Expand Down

0 comments on commit 4a1c27c

Please sign in to comment.