Skip to content

Commit

Permalink
Fix app build
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaaatt committed Jun 3, 2023
1 parent 680c296 commit 2029809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
"proguard-rules.pro"
)
when {
!keystoreProperties.isEmpty -> {
!keystoreProperties.isEmpty && localProperties.contains("licenseKey") -> {
val licenseKey = keystoreProperties.getProperty("licenseKey")
resValue("string", "licenseKey", licenseKey)
}
Expand All @@ -55,7 +55,7 @@ android {
"proguard-rules.pro"
)
when {
!localProperties.isEmpty -> {
!localProperties.isEmpty && localProperties.contains("licenseKey") -> {
val licenseKey = localProperties.getProperty("licenseKey")
resValue("string", "licenseKey", licenseKey)
}
Expand Down

0 comments on commit 2029809

Please sign in to comment.