Only set publishCredentialsFile if not blank

This commit is contained in:
William Brawner 2024-10-01 22:07:52 -06:00
parent 0ade9be784
commit 2f30d2fd6f

View file

@ -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))
}
}