mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
Build without Firebase
This commit is contained in:
parent
9c7130c6f9
commit
f0925f0f86
@ -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.
|
||||
|
||||
|
@ -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.")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user