Fixed firebase always disabled
This commit is contained in:
parent
92b33ef71c
commit
342ffe4981
1 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ def getPackageName() {
|
|||
}
|
||||
|
||||
def firebaseEnabled() {
|
||||
File googleFile = new File('google-services.json')
|
||||
File googleFile = new File('app/google-services.json')
|
||||
return googleFile.exists()
|
||||
}
|
||||
|
||||
|
@ -15,10 +15,6 @@ def isLocalAarAvailable() {
|
|||
return debugAar.exists() || releaseAar.exists()
|
||||
}
|
||||
|
||||
if (firebaseEnabled()) {
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
}
|
||||
|
||||
///// Exclude Files /////
|
||||
|
||||
def excludeFiles = []
|
||||
|
@ -121,3 +117,7 @@ dependencies {
|
|||
debugImplementation "org.linphone:liblinphone-sdk:${android.defaultConfig.versionName}-DEBUG"
|
||||
}
|
||||
}
|
||||
|
||||
if (firebaseEnabled()) {
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
}
|
Loading…
Reference in a new issue