Skip to content

Commit

Permalink
Fix Bitrise build
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita36078 committed Aug 4, 2024
1 parent ec51bc2 commit 7be5f74
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,17 @@ android {

signingConfigs {
release {
keyAlias keystoreProps['keyAlias']
keyPassword keystoreProps['keyPassword']
storeFile file(keystoreProps['storeFile'])
storePassword keystoreProps['storePassword']
if (System.getenv()['BITRISE_IO']) {
keyAlias System.getenv('BITRISEIO_ANDROID_KEYSTORE_ALIAS')
keyPassword System.getenv('BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD')
storeFile file(System.getenv['BITRISEIO_ANDROID_KEYSTORE_URL'])
storePassword System.getenv('BITRISEIO_ANDROID_KEYSTORE_PASSWORD')
} else {
keyAlias keystoreProps['keyAlias']
keyPassword keystoreProps['keyPassword']
storeFile file(keystoreProps['storeFile'])
storePassword keystoreProps['storePassword']
}
}
}

Expand Down

0 comments on commit 7be5f74

Please sign in to comment.