don't sign release builds if theres no store file
This commit is contained in:
parent
dab84063e2
commit
d85c910298
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ android {
|
|||
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
// Unsigned without a keystore, e.g. for F-Droid, which signs it itself
|
||||
signingConfig = signingConfigs.getByName("release").takeIf { it.storeFile != null }
|
||||
}
|
||||
|
||||
debug {
|
||||
|
|
|
|||
Loading…
Reference in a new issue