Only set publishCredentialsFile if present

This commit is contained in:
William Brawner 2024-10-01 21:02:43 -06:00
parent bf01006004
commit 0ade9be784

View file

@ -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 {