From 2a970ed3bd4cbf0528714f15ab41c8ab02648f13 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 cf3373f..4767551 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)) } }