Configure com.google.firebase:firebase-bom and add dependency on firebase-messaging-ktx
This commit is contained in:
parent
8ce6af7951
commit
bec72cbc22
3 changed files with 8 additions and 3 deletions
|
|
@ -223,6 +223,9 @@ dependencies {
|
||||||
implementation(platform(libs.network.okhttp.bom))
|
implementation(platform(libs.network.okhttp.bom))
|
||||||
implementation("com.squareup.okhttp3:logging-interceptor")
|
implementation("com.squareup.okhttp3:logging-interceptor")
|
||||||
|
|
||||||
|
implementation(platform(libs.google.firebase.bom))
|
||||||
|
implementation("com.google.firebase:firebase-messaging-ktx")
|
||||||
|
|
||||||
implementation(libs.dagger)
|
implementation(libs.dagger)
|
||||||
kapt(libs.dagger.compiler)
|
kapt(libs.dagger.compiler)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
[versions]
|
[versions]
|
||||||
# Project
|
# Project
|
||||||
android_gradle_plugin = "7.4.2"
|
android_gradle_plugin = "7.4.2"
|
||||||
firebase_gradle_plugin = "3.2.0"
|
|
||||||
kotlin = "1.8.10"
|
kotlin = "1.8.10"
|
||||||
ksp = "1.8.10-1.0.9"
|
ksp = "1.8.10-1.0.9"
|
||||||
molecule = "0.8.0"
|
molecule = "0.8.0"
|
||||||
|
|
@ -55,8 +54,9 @@ dependencygraph = "0.10"
|
||||||
[libraries]
|
[libraries]
|
||||||
# Project
|
# Project
|
||||||
android_gradle_plugin = { module = "com.android.tools.build:gradle", version.ref = "android_gradle_plugin" }
|
android_gradle_plugin = { module = "com.android.tools.build:gradle", version.ref = "android_gradle_plugin" }
|
||||||
firebase_gradle_plugin = { module = "com.google.firebase:firebase-appdistribution-gradle", version.ref = "firebase_gradle_plugin" }
|
|
||||||
kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
|
kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
|
||||||
|
# https://firebase.google.com/docs/android/setup#available-libraries
|
||||||
|
google_firebase_bom = "com.google.firebase:firebase-bom:31.2.3"
|
||||||
|
|
||||||
# AndroidX
|
# AndroidX
|
||||||
androidx_material = { module = "com.google.android.material:material", version.ref = "material" }
|
androidx_material = { module = "com.google.android.material:material", version.ref = "material" }
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ repositories {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(libs.android.gradle.plugin)
|
implementation(libs.android.gradle.plugin)
|
||||||
implementation(libs.kotlin.gradle.plugin)
|
implementation(libs.kotlin.gradle.plugin)
|
||||||
implementation(libs.firebase.gradle.plugin)
|
implementation(platform(libs.google.firebase.bom))
|
||||||
|
// FIXME: using the bom ^, it should not be necessary to provide the version v...
|
||||||
|
implementation("com.google.firebase:firebase-appdistribution-gradle:4.0.0")
|
||||||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue