From f45cffe63c16879dc57ecd5f845f29fbe146ea5a Mon Sep 17 00:00:00 2001 From: Panosfunk Date: Wed, 7 Feb 2024 19:40:04 +0100 Subject: [PATCH] trying to deploy on google play store using github actions and fastlane --- android/app/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 67dfae27..d735ce7e 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -5,7 +5,8 @@ plugins { } def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') +// it is file('local.properties') for deploying using local terminal. might be file('../android/local.properties') for github actions. +def localPropertiesFile = rootProject.file('./android/local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) @@ -13,7 +14,8 @@ if (localPropertiesFile.exists()) { } def keyProperties = new Properties() -def keyPropertiesFile = rootProject.file('key.properties') +// it is file('key.properties') for deploying using local terminal. might be file('../android/key.properties') for github actions. +def keyPropertiesFile = rootProject.file('./android/key.properties') if (keyPropertiesFile.exists()) { keyPropertiesFile.withReader('UTF-8') { reader -> keyProperties.load(reader)