Skip to content

Commit

Permalink
Build fix for PreProd
Browse files Browse the repository at this point in the history
  • Loading branch information
amankgo committed Feb 10, 2022
1 parent 931e588 commit 6c851cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6c851cf

Please sign in to comment.