Skip to content

Commit

Permalink
push fix to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Parker committed Sep 26, 2024
1 parent 2cc2bc7 commit 34e0b83
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions apps/releaf/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ android {
keyPassword 'android'
}
release {
if (project.hasProperty('RELEAF_UPLOAD_STORE_FILE')) {
if (project.hasProperty('RELEAF_UPLOAD_STORE_PASSWORD')) {
storeFile file(RELEAF_UPLOAD_STORE_FILE)
storePassword RELEAF_UPLOAD_STORE_PASSWORD
keyAlias RELEAF_UPLOAD_KEY_ALIAS
Expand All @@ -103,11 +103,13 @@ android {
signingConfig signingConfigs.debug
}
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
if (project.hasProperty('RELEAF_UPLOAD_STORE_PASSWORD')) {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
}
}
Expand Down

0 comments on commit 34e0b83

Please sign in to comment.