From 5f65fb7d78505e61d2232925d7f0d21a8ce6c731 Mon Sep 17 00:00:00 2001 From: Craftplacer <22963120+Craftplacer@users.noreply.github.com> Date: Fri, 1 Mar 2024 05:12:15 +0100 Subject: [PATCH] fix(android): move signingConfigs before buildTypes --- packages/kaiteki/android/app/build.gradle | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/kaiteki/android/app/build.gradle b/packages/kaiteki/android/app/build.gradle index 3d2026ad..9c74444f 100644 --- a/packages/kaiteki/android/app/build.gradle +++ b/packages/kaiteki/android/app/build.gradle @@ -46,6 +46,15 @@ android { main.java.srcDirs += 'src/main/kotlin' } + signingConfigs { + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword keystoreProperties['storePassword'] + } + } + buildTypes { debug { applicationIdSuffix ".debug" @@ -63,15 +72,6 @@ android { versionName flutterVersionName } - signingConfigs { - release { - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null - storePassword keystoreProperties['storePassword'] - } - } - flavorDimensions 'distribution' productFlavors {