Skip to content

Commit

Permalink
Add debug build config
Browse files Browse the repository at this point in the history
  • Loading branch information
ademar111190 committed Sep 13, 2023
1 parent d1eed2c commit e19f03d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,22 @@ android {
println("No storeFile provided, release builds are not possible")
}
}
debug {
String filePath = keystoreProperties['storeFileDebug']
if (filePath != null) {
keyAlias keystoreProperties['aliasDebug']
keyPassword keystoreProperties['passwordDebug']
storeFile file(filePath)
storePassword keystoreProperties['passwordDebug']
} else {
println("No storeFile provided, debug builds are using your local debug keystore")
}
}
}

buildTypes {
debug {
signingConfig signingConfigs.debug
applicationIdSuffix '.debug'
versionNameSuffix '-DEBUG'
resValue "string", "app_name", "Breez Debug"
Expand Down

0 comments on commit e19f03d

Please sign in to comment.