Skip to content

Commit

Permalink
trying to deploy on google play store using github actions and fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
Panosfunk committed Feb 7, 2024
1 parent 821e441 commit f45cffe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ 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)
}
}

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)
Expand Down

0 comments on commit f45cffe

Please sign in to comment.