fix: allow unsigned CI debug builds
This commit is contained in:
parent
1943baf533
commit
30b863e46d
|
|
@ -7,8 +7,8 @@ plugins {
|
||||||
id("com.google.gms.google-services")
|
id("com.google.gms.google-services")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Release signing is intentionally optional during configuration so debug/profile
|
// Release signing is optional during configuration so debug/profile builds
|
||||||
// builds (including GitHub Actions CI) do not require private signing credentials.
|
// (including GitHub Actions CI) do not require private signing credentials.
|
||||||
val keystoreProperties = Properties()
|
val keystoreProperties = Properties()
|
||||||
val keystorePropertiesFile = rootProject.file("key.properties")
|
val keystorePropertiesFile = rootProject.file("key.properties")
|
||||||
|
|
||||||
|
|
@ -62,13 +62,9 @@ android {
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
val releaseSigningConfig = signingConfigs.findByName("release")
|
signingConfigs.findByName("release")?.let {
|
||||||
?: throw GradleException(
|
signingConfig = it
|
||||||
"Release signing is not configured. " +
|
}
|
||||||
"Provide android/key.properties with storePassword, keyPassword, " +
|
|
||||||
"keyAlias, and storeFile for a signed release build."
|
|
||||||
)
|
|
||||||
signingConfig = releaseSigningConfig
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue