Skip to content

Commit

Permalink
Added defaultEnvFile config (lugg#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrytao-me authored and Pedro Belo committed Apr 26, 2017
1 parent 5e4abf1 commit d2169de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/dotenv.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ def getCurrentFlavor() {
def readDotEnv = {
def envFile = ".env"

if (project.hasProperty("defaultEnvFile")) {
envFile = project.defaultEnvFile
}

if (System.env['ENVFILE']) {
envFile = System.env['ENVFILE'];
} else if (project.hasProperty("envConfigFiles")) {
Expand Down

0 comments on commit d2169de

Please sign in to comment.