From 8658e9e72075b347c766f36c97f8143019bde6cc Mon Sep 17 00:00:00 2001 From: Naveen Kumar Kuppan Date: Thu, 6 Jun 2024 19:13:46 +0200 Subject: [PATCH] Updating file path after setting them --- app/build.gradle.kts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b05e8fcc..409f04c1 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -73,18 +73,17 @@ if (playStorePublisher.exists()) { val playStoreTrack = System.getenv()["PLAYSTORE_TRACK"] ?: "beta" val playStoreReleaseStatus = runCatching { - ReleaseStatus.valueOf( - System.getenv()["PLAYSTORE_RELEASE_STATUS".uppercase()] ?: ReleaseStatus.DRAFT.name - ) + ReleaseStatus.valueOf(System.getenv()["PLAYSTORE_RELEASE_STATUS".uppercase()] ?: "") }.getOrNull() ?: ReleaseStatus.DRAFT println("----- $playStoreTrack & $playStoreReleaseStatus-----") android { play { - serviceAccountCredentials = playStorePublisher + serviceAccountCredentials.set(playStorePublisher) track.set(playStoreTrack) releaseStatus.set(playStoreReleaseStatus) + println(serviceAccountCredentials.get().asFile.absolutePath) } } } else {