From abafba225f91f787f816d57fce9eadaabcf9d60c Mon Sep 17 00:00:00 2001 From: William Brawner Date: Fri, 30 Aug 2024 20:51:44 -0600 Subject: [PATCH] Add publish credentials to keystore.properties.sample --- app/build.gradle.kts | 2 ++ keystore.properties.sample | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8780e82..aecfa1c 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -21,6 +21,7 @@ try { keystoreProperties["keyPassword"] = "" keystoreProperties["storeFile"] = File.createTempFile("temp", ".tmp").absolutePath keystoreProperties["storePassword"] = "" + keystoreProperties["publishCredentialsFile"] = "" } android { @@ -108,6 +109,7 @@ play { enabled.set(false) track.set("production") defaultToAppBundles.set(true) + serviceAccountCredentials.set(file((keystoreProperties["publishCredentialsFile"] as? String).orEmpty())) } dependencies { diff --git a/keystore.properties.sample b/keystore.properties.sample index c67223a..971c0d2 100644 --- a/keystore.properties.sample +++ b/keystore.properties.sample @@ -1,4 +1,5 @@ storePassword= keyPassword= keyAlias= -storeFile= \ No newline at end of file +storeFile= +publishCredentialsFile= \ No newline at end of file