Only set publishCredentialsFile if not blank
This commit is contained in:
parent
dfbdd729c4
commit
2a970ed3bd
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ play {
|
|||
enabled.set(false)
|
||||
track.set("production")
|
||||
defaultToAppBundles.set(true)
|
||||
(keystoreProperties["publishCredentialsFile"] as? String)?.let {
|
||||
(keystoreProperties["publishCredentialsFile"] as? String)?.ifBlank { null }?.let {
|
||||
serviceAccountCredentials.set(file(it))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue