From bd2f04f604ead32761251750bb7fded1b8d47f2b Mon Sep 17 00:00:00 2001 From: DevKumar00001 Date: Sat, 9 Sep 2023 14:38:12 +0530 Subject: [PATCH] fix: unsigned apk when executed assembleRelease --- app/build.gradle | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0acb691..70c609a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,16 +62,6 @@ android { versionCode 1 versionName "1.0-Snapshot-" + getCommitHash() } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - debug { - debuggable true - } - } compileOptions { sourceCompatibility JavaVersion.VERSION_17 @@ -100,6 +90,17 @@ android { } } } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + signingConfig signingConfigs.release + } + debug { + debuggable true + } + } } dependencies {