Skip to content

Commit

Permalink
Fix flutter#39758: Enable proguard on release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Garcia committed Sep 4, 2019
1 parent bdd27ea commit e7a6833
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Expand Up @@ -51,6 +51,9 @@ android {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
Expand Down
@@ -0,0 +1,3 @@
# Proguard is enabled by default on release mode.
# https://flutter.dev/docs/deployment/android#enabling-proguard
-dontwarn android.**
Expand Up @@ -56,6 +56,9 @@ android {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
Expand Down
@@ -0,0 +1,3 @@
# Proguard is enabled by default on release mode.
# https://flutter.dev/docs/deployment/android#enabling-proguard
-dontwarn android.**

0 comments on commit e7a6833

Please sign in to comment.