diff --git a/.teamcity/utils.kt b/.teamcity/utils.kt index 160cf293..630badc7 100644 --- a/.teamcity/utils.kt +++ b/.teamcity/utils.kt @@ -12,17 +12,12 @@ const val releaseVersionParameter = "releaseVersion" const val libraryStagingRepoDescription = "kotlinx-benchmark" val platforms = Platform.values() -const val jdk = "JDK_18_x64" +const val jdk = "JDK_17_0" enum class Platform { Windows, Linux, MacOS; } -fun Platform.nativeTaskPrefix(): String = when(this) { - Platform.Windows -> "mingwX64" - Platform.Linux -> "linuxX64" - Platform.MacOS -> "macosX64" -} fun Platform.buildTypeName(): String = when (this) { Platform.Windows, Platform.Linux -> name Platform.MacOS -> "Mac OS X" @@ -117,4 +112,4 @@ fun BuildType.dependsOnSnapshot(build: IdOwner, onFailure: FailureAction = Failu onDependencyCancel = FailureAction.CANCEL } } -} \ No newline at end of file +}