Skip to content

Commit c21dbcd

Browse files
committed
Update build.gradle.kts
1 parent 228f397 commit c21dbcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ plugins {
99
alias(libs.plugins.maven.publish)
1010
}
1111

12+
val isSnapshot: Boolean get() = System.getProperty("snapshot") != null
13+
version = "$version${if (isSnapshot) "-SNAPSHOT" else ""}"
14+
1215
dependencies {
1316
api(libs.configcat)
1417
api(libs.openfeature)

0 commit comments

Comments
 (0)