Looks like you just broke them for SysctlGUI – with this block:
signingConfig = if (envEnabled || hasSigningValues) {
signingConfigs.getByName("release")
} else {
signingConfigs.getByName("debug")
}
Never have a release build signed by a debug key (which is supposed to happen here when the release key was not found – so instead of an unsigned APK, we'd end up with a debug-signed one). Adding to that:
FAILURE: Build failed with an exception.
* Where:
Build file '/build/repo/app/build.gradle.kts' line: 85
* What went wrong:
Script compilation error:
Line 85: signingConfig = if (envEnabled || hasSigningValues) {
^ Assignment type mismatch: actual type is 'Unit', but 'ApkSigningConfig?' was expected.
🤷♂️
To work around that, we've applied
sed -ri '/signingConfig =.*\{/,/^ \}$/d' app/build.gradle.kts
before calling gradlew. Build succeeds then, and is even RB again.
Looks like you just broke them for SysctlGUI – with this block:
Never have a release build signed by a debug key (which is supposed to happen here when the release key was not found – so instead of an unsigned APK, we'd end up with a debug-signed one). Adding to that:
🤷♂️
To work around that, we've applied
before calling
gradlew. Build succeeds then, and is even RB again.