From 83876123c69d447b85d0a13b0b0d5571ccbdcd5a Mon Sep 17 00:00:00 2001 From: Syuugo Date: Thu, 16 Jan 2025 21:54:33 +0900 Subject: [PATCH] Always signing --- app/build.gradle.kts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 24df38aa..20987f2a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -31,10 +31,9 @@ android { buildTypes { configureEach { - if (File("release.jks").exists()) { - signingConfig = signingConfigs["release"] - } - } + val variant = if (File("release.jks").exists()) "release" else "debug" + signingConfig = signingConfigs[variant] + } release { resValue("string", "app_name", app_name) isMinifyEnabled = false