Merge branch 'MTRNord/fix-proguard-moor' into 'master'

[Proguard] Fix file location, make it more aggressive and remove deprecated option

See merge request ChristianPauly/fluffychat-flutter!52
This commit is contained in:
Sorunome 2020-05-13 17:58:47 +00:00
commit b2fa5ef97d
2 changed files with 2 additions and 1 deletions

View file

@ -73,7 +73,6 @@ android {
release {
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}

View file

@ -1,3 +1,4 @@
-optimizationpasses 5
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
@ -6,4 +7,5 @@
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-dontwarn io.flutter.embedding.**
## Sqlite Encryption
-keep class net.sqlcipher.** { *; }