Only set publishCredentialsFile if present
Some checks failed
Build & Test / Validate (pull_request) Successful in 21s
Build & Test / Run Unit Tests (pull_request) Failing after 5m25s
Build & Test / Run UI Tests (pull_request) Has been skipped

This commit is contained in:
William Brawner 2024-10-01 21:02:43 -06:00
parent d872bdf012
commit dfbdd729c4
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

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