From 6ae21fa51ea47ba681ed4aa46827a19ec8bbca27 Mon Sep 17 00:00:00 2001 From: Roger Colquehuanca Date: Sun, 13 Oct 2024 22:48:58 -0500 Subject: [PATCH] wip update buildgradel error line 43 storeFile localproperties reason? System.getenv for github actions and localpropertis for local generate --- app/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 459e806..29f8dc6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,10 +38,10 @@ android { signingConfigs { release { - keyAlias localProperties['ALIAS'] - keyPassword localProperties['KEY_PASSWORD'] - storeFile file(localProperties['ANDROID_KEYSTORE']) - storePassword localProperties['KEY_STORE_PASSWORD'] + keyAlias System.getenv('ALIAS') ?: localProperties['ALIAS'] + keyPassword System.getenv('KEY_PASSWORD') ?: localProperties['KEY_PASSWORD'] + storeFile file(System.getenv('ANDROID_KEYSTORE') ?: localProperties['ANDROID_KEYSTORE']) + storePassword System.getenv('KEY_STORE_PASSWORD') ?: localProperties['KEY_STORE_PASSWORD'] } }