diff --git a/README.md b/README.md index 5f64b891..a44cea8f 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,6 @@ If you don't need all build variants, you can: Didn't add Google Services since F-Droid flavor was chosen. ... ``` - There should some warnings from Firebase, ignore them. Open issue in case you need any sort of help. It's free. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2a1a7ba7..8dec19b8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -6,14 +6,12 @@ plugins { // Hilt id("kotlin-kapt") id("dagger.hilt.android.plugin") - - // Firebase Crashlytics - id("com.google.firebase.crashlytics") } if (!gradle.startParameter.taskRequests.toString().contains("Fdroid")) { - // Google Services are for all flavors except fdroid + // Google Services and Firebase Crashlytics are for all flavors except fdroid apply(plugin="com.google.gms.google-services") + apply(plugin="com.google.firebase.crashlytics") } else { println("Didn't add Google Services since F-Droid flavor was chosen.") }