mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-10 12:33:44 +00:00
chore: Only load google services if needed
Originally done in 051ec8f913e6532349f0912cac3ca84507c542bb then accidentally (?) reverted in 8a542bf5c2f5dd2cd275111074f29b71b2b11dd7
This commit is contained in:
parent
2a0a422847
commit
bdc52cf8d6
2 changed files with 4 additions and 3 deletions
|
@ -87,4 +87,6 @@ dependencies {
|
|||
implementation "net.zetetic:android-database-sqlcipher:4.4.0" // needed for moor_ffi w/ sqlcipher
|
||||
}
|
||||
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
if(file("google-services.json").exists()){
|
||||
apply plugin: 'com.google.gms.google-services'
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
flutter channel stable
|
||||
flutter upgrade
|
||||
truncate -s $(head -n -2 android/app/build.gradle | wc -c) android/app/build.gradle
|
||||
flutter build apk --debug -v
|
||||
flutter build apk --debug -v
|
||||
|
|
Loading…
Reference in a new issue