[#786] Simplify signing during development
This commit is contained in:
parent
103d2748c6
commit
b1f38ab912
|
@ -72,8 +72,14 @@ android {
|
|||
File("proguard-project.txt")
|
||||
)
|
||||
)
|
||||
val isSignReleaseBuildWithDebugKey = project.property("IS_SIGN_RELEASE_BUILD_WITH_DEBUG_KEY")
|
||||
.toString().toBoolean()
|
||||
|
||||
if (isReleaseSigningConfigured) {
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
} else if (isSignReleaseBuildWithDebugKey) {
|
||||
// Warning: in this case the release build signed with the debug key
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,6 +59,9 @@ ZCASH_RELEASE_KEYSTORE_PASSWORD=
|
|||
ZCASH_RELEASE_KEY_ALIAS=
|
||||
ZCASH_RELEASE_KEY_ALIAS_PASSWORD=
|
||||
|
||||
# Switch this property to true only if you need to sign the release build with a debug key for local development.
|
||||
IS_SIGN_RELEASE_BUILD_WITH_DEBUG_KEY=false
|
||||
|
||||
# Versions
|
||||
ANDROID_MIN_SDK_VERSION=21
|
||||
ANDROID_TARGET_SDK_VERSION=33
|
||||
|
|
Loading…
Reference in New Issue