From 2f30d2fd6f88ee0ec5a27f3b57eba04e4f7e7739 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Tue, 1 Oct 2024 22:07:52 -0600 Subject: [PATCH] Only set publishCredentialsFile if not blank --- app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index afcfac3..15c5efe 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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)) } }