Only set publishCredentialsFile if not blank
All checks were successful
Build & Test / Validate (pull_request) Successful in 21s
Build & Test / Run Unit Tests (pull_request) Successful in 12m25s
Build & Test / Run UI Tests (pull_request) Successful in 18m30s

This commit is contained in:
William Brawner 2024-10-01 22:07:52 -06:00
parent dfbdd729c4
commit 2a970ed3bd
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -109,7 +109,7 @@ play {
enabled.set(false) enabled.set(false)
track.set("production") track.set("production")
defaultToAppBundles.set(true) defaultToAppBundles.set(true)
(keystoreProperties["publishCredentialsFile"] as? String)?.let { (keystoreProperties["publishCredentialsFile"] as? String)?.ifBlank { null }?.let {
serviceAccountCredentials.set(file(it)) serviceAccountCredentials.set(file(it))
} }
} }