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)