We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eddbb2f commit fa17625Copy full SHA for fa17625
build.gradle.kts
@@ -10,9 +10,6 @@ plugins {
10
id("signing")
11
}
12
13
-group = property("group") as String
14
-version = property("version") as String
15
-
16
val isReleaseBuild: Boolean
17
get() = project.hasProperty("RELEASE")
18
@@ -28,6 +25,8 @@ val repositoryUsername: String
28
25
val repositoryPassword: String
29
26
get() = project.findProperty("MAVEN_PASSWORD")?.toString() ?: ""
30
27
+group = property("group") as String
+version = property("version") as String + if (isReleaseBuild) "" else "-SNAPSHOT"
31
32
val jnigenVersion = property("jnigen.version") as String
33
0 commit comments