Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Oct 25, 2024
2 parents 4eecfe7 + 53e69f1 commit 49721c1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ android {

if (project.hasProperty("RELEASE_STORE_FILE")) {
signingConfigs {
register("release") {
create("release") {
storeFile = file(project.property("RELEASE_STORE_FILE")!!)
storePassword = project.property("RELEASE_STORE_PASSWORD") as String?
keyAlias = project.property("RELEASE_KEY_ALIAS") as String?
Expand All @@ -47,10 +47,8 @@ android {
}
buildTypes {
release {
signingConfig = if (project.hasProperty("RELEASE_STORE_FILE")) {
signingConfigs.getByName("release")
} else {
signingConfigs.getByName("debug")
if (project.hasProperty("RELEASE_STORE_FILE")) {
signingConfig = signingConfigs.getByName("release")
}

isMinifyEnabled = true
Expand Down

0 comments on commit 49721c1

Please sign in to comment.