Skip to content

Commit

Permalink
config signing key for release config
Browse files Browse the repository at this point in the history
  • Loading branch information
omer358 committed Aug 23, 2024
1 parent 3f00d0a commit 42804f6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ plugins {
}

android {
signingConfigs {

create("release") {
storeFile = file("$projectDir/keys/keystore.jks")
storePassword = System.getenv("REMEMBER_ME_KEYSTORE_PASSWORD")
keyAlias = System.getenv("REMEMBER_ME_KEYSTORE_ALIAS")
keyPassword = System.getenv("REMEMBER_ME_KEY_PASSWORD")
}
}
namespace = "com.example.rememberme"
compileSdk = 34

Expand All @@ -35,10 +44,14 @@ android {
"proguard-rules.pro"
)
isDebuggable = false
multiDexEnabled = true
signingConfig = signingConfigs.getByName("release")
}
debug {
isMinifyEnabled = false
isDebuggable = true
multiDexEnabled = true
signingConfig = signingConfigs.getByName("debug")
}
}
compileOptions {
Expand Down

0 comments on commit 42804f6

Please sign in to comment.