From 6c851cf573bb4bc4edf20c45472c32ae5508f2b4 Mon Sep 17 00:00:00 2001 From: "aman.kapoor" Date: Thu, 10 Feb 2022 12:51:06 +0530 Subject: [PATCH] Build fix for PreProd --- api/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 30ba2c4..b424c68 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -7,7 +7,7 @@ plugins { ext { set("PUBLISH_GROUP_ID", Configuration.Api.artifactGroup) - if (Configuration.Api.isSnapshot || rootProject.ext["snapshot"] as Boolean) { + if (Configuration.Api.isSnapshot || rootProject.ext["snapshot"] as? Boolean == true) { set("PUBLISH_VERSION", Configuration.Api.snapshotVersionName) } else { set("PUBLISH_VERSION", Configuration.Api.versionName)