Skip to content

Commit 5fef4da

Browse files
committed
fix build gradle
1 parent 847192d commit 5fef4da

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

android/app/build.gradle

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,13 @@ android {
6060
versionName flutterVersionName
6161
}
6262

63-
// buildTypes {
64-
// release {
65-
// // TODO: Add your own signing config for the release build.
66-
// // Signing with the debug keys for now, so `flutter run --release` works.
67-
// signingConfig signingConfigs.debug
68-
// }
69-
// }
70-
7163
// keystore information
7264
signingConfigs {
7365
release {
7466
keyAlias keystoreProperties['keyAlias']
7567
keyPassword keystoreProperties['keyPassword']
76-
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
68+
//storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
69+
storeFile = file('key.jks')
7770
storePassword keystoreProperties['storePassword']
7871
}
7972
}
@@ -82,6 +75,7 @@ android {
8275
release {
8376
// TODO: Add your own signing config for the release build.
8477
// Signing with the debug keys for now, so `flutter run --release` works.
78+
minifyEnabled true
8579
signingConfig signingConfigs.release
8680
}
8781
}

0 commit comments

Comments
 (0)