Skip to content

Commit

Permalink
Updating file check
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuppan committed Jul 4, 2024
1 parent bb42287 commit f1aa0f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ plugins {
}


val keysFolderPath: String = if (File("${rootDir.absolutePath}/keys").exists()) {
"${rootDir.absolutePath}/keys"
} else {
rootDir.absolutePath
}
val keysFolderPath: String =
if (File("${rootDir.absolutePath}/keys/credentials.properties").exists()) {
"${rootDir.absolutePath}/keys"
} else {
rootDir.absolutePath
}

fun getCredentialsFile(): File {
val credentialFilePath = "$keysFolderPath/credentials.properties"
Expand Down

0 comments on commit f1aa0f6

Please sign in to comment.