2020-03-30 14:06:43 +00:00
|
|
|
--- a/android/app/build.gradle
|
|
|
|
|
+++ b/android/app/build.gradle
|
|
|
|
|
@@ -173,14 +173,6 @@
|
|
|
|
|
// keyPassword 'android'
|
|
|
|
|
// }
|
|
|
|
|
release {
|
|
|
|
|
- if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
|
|
|
|
|
- storeFile file(MYAPP_RELEASE_STORE_FILE)
|
|
|
|
|
- storePassword MYAPP_RELEASE_STORE_PASSWORD
|
|
|
|
|
- keyAlias MYAPP_RELEASE_KEY_ALIAS
|
|
|
|
|
- keyPassword MYAPP_RELEASE_KEY_PASSWORD
|
|
|
|
|
- } else {
|
|
|
|
|
- throw new Exception('Refusing to make release build with wrong keystore')
|
2020-03-10 16:45:40 +00:00
|
|
|
- }
|
2020-03-30 14:06:43 +00:00
|
|
|
}
|
2020-03-10 16:45:40 +00:00
|
|
|
}
|
|
|
|
|
|
2020-03-30 14:06:43 +00:00
|
|
|
@@ -203,11 +195,6 @@
|
|
|
|
|
// signingConfig signingConfigs.debug
|
|
|
|
|
minifyEnabled enableProguardInReleaseBuilds
|
|
|
|
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
|
|
|
|
- if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
|
2020-03-10 16:45:40 +00:00
|
|
|
- signingConfig signingConfigs.release
|
2020-03-30 14:06:43 +00:00
|
|
|
- } else {
|
|
|
|
|
- throw new Exception('Refusing to make release build with wrong keystore')
|
2020-03-10 16:45:40 +00:00
|
|
|
- }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|