Skip to content

Commit

Permalink
Added check for signingConfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDixit09 committed May 8, 2024
1 parent f25a68f commit 77d72b1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Branch-SDK-Automation-TestBed/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ plugins {
android {
compileSdk 33

signingConfigs {
debug {
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
storeFile file("automationSigningKeys.jks")
storePassword System.getenv("SIGNING_STORE_PASSWORD")
if (file('automationSigningKeys.jks').exists()) {
signingConfigs {
debug {
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
storeFile file("automationSigningKeys.jks")
storePassword System.getenv("SIGNING_STORE_PASSWORD")
}
}
}
defaultConfig {
Expand Down

0 comments on commit 77d72b1

Please sign in to comment.