Skip to content
This repository has been archived by the owner on Jan 22, 2023. It is now read-only.

Commit

Permalink
update how to find the secrets file
Browse files Browse the repository at this point in the history
  • Loading branch information
klinker24 committed Apr 7, 2022
1 parent 3b9f101 commit 377bbda
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ android {
defaultConfig {
applicationId buildInfo.id

File secretsExists = new File("secrets.properties")
if (secretsExists.exists()) {
def secretsFile = rootProject.file('secrets.properties')
File secretsFile = rootProject.file('secrets.properties')
if (secretsFile.exists()) {
def secrets = new Properties()
secrets.load(new FileInputStream(secretsFile))

Expand Down

0 comments on commit 377bbda

Please sign in to comment.