From bba0980d06da880ccb85fff17d519845f9443fe8 Mon Sep 17 00:00:00 2001 From: Gouri Panda Date: Thu, 19 Oct 2023 02:07:09 +0530 Subject: [PATCH] quick fix versionCode override --- custom/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/build.gradle.kts b/custom/build.gradle.kts index 0803ae917..b951d624e 100644 --- a/custom/build.gradle.kts +++ b/custom/build.gradle.kts @@ -51,6 +51,7 @@ android { createDownloadTaskForPlayAssetDelivery(file) } } + downloadTaskDeferred.await() val bundleTaskDeferred = async { withContext(Dispatchers.Default) { @@ -58,7 +59,6 @@ android { } } - downloadTaskDeferred.await() bundleTaskDeferred.await() } @@ -229,7 +229,7 @@ fun ProductFlavor.createPublishBundleWithAssetPlayDelivery(): Task { ) if (generatedBundleFile.exists()) { uploadBundle(generatedBundleFile) - addBundleToTrackInDraft(7233100, versionName) + addBundleToTrackInDraft("8$versionCode".toInt(), versionName) } else { throw FileNotFoundException("Unable to find generated aab file") }