From 970987551260e4668d2a53710b57a536aed578dd Mon Sep 17 00:00:00 2001 From: Ahmad Date: Sat, 17 Aug 2024 03:16:06 +0700 Subject: [PATCH] Release: Nightly 5.3.6b - Restore old app build.gradle, because it not works with github actions --- app/build.gradle | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ffbd6b14..899cafbd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,30 +19,22 @@ android { setProperty("archivesBaseName", "animetv-" + versionName) } - def keystoreFile = file('../keystore/debug.keystore') - def isKeystoreFileExists = keystoreFile.exists() && !keystoreFile.isDirectory() - buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - if (isKeystoreFileExists) { - signingConfig signingConfigs.debug - } + signingConfig signingConfigs.debug } debug { minifyEnabled false } } - - if (isKeystoreFileExists) { - signingConfigs { - debug { - storeFile storeFile - storePassword "android" - keyAlias "androiddebugkey" - keyPassword "android" - } + signingConfigs { + debug { + storeFile file('../keystore/debug.keystore') + storePassword "android" + keyAlias "androiddebugkey" + keyPassword "android" } } }