Skip to content

Commit

Permalink
don't even check for presence
Browse files Browse the repository at this point in the history
  • Loading branch information
cpg committed Jun 28, 2017
1 parent fba0be4 commit 4e71152
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ android {
def apiFile = file("api.properties")
def apiProperties = new Properties()

if (apiFile.exists()) {
apiProperties.load(apiFile.newInputStream())
}
apiProperties.load(apiFile.newInputStream())

buildConfigField "String", "API_URL_AMAHI", formatStringField(apiProperties["url.amahi"])
buildConfigField "String", "API_URL_PROXY", formatStringField(apiProperties["url.proxy"])
buildConfigField "String", "API_CLIENT_ID", formatStringField(apiProperties["client.id"])
Expand Down

0 comments on commit 4e71152

Please sign in to comment.