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