Allow to force snapshot build
This commit is contained in:
+5
-1
@@ -64,7 +64,11 @@ val configuredJdks: List<JdkId> =
|
||||
|
||||
val defaultSnapshotVersion: String by extra
|
||||
val buildNumber by extra(findProperty("build.number")?.toString() ?: defaultSnapshotVersion)
|
||||
val kotlinVersion by extra(findProperty("deployVersion")?.toString() ?: buildNumber)
|
||||
val kotlinVersion by extra(
|
||||
findProperty("deployVersion")?.toString()?.let { deploySnapshotStr ->
|
||||
if (deploySnapshotStr != "default.snapshot") deploySnapshotStr else defaultSnapshotVersion
|
||||
} ?: buildNumber
|
||||
)
|
||||
|
||||
val kotlinLanguageVersion by extra("1.4")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user