Skip to content

Commit e968932

Browse files
committed
Revert "For Train: Set API and language version for ktor-test-server"
This reverts commit 65dfb80.
1 parent c524a03 commit e968932

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

ktor-test-server/build.gradle.kts

-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
2-
31
/*
42
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
53
*/
@@ -38,18 +36,6 @@ kotlin {
3836
jvmToolchain(21)
3937

4038
compilerOptions {
41-
languageVersion = rootProject.findProperty("kotlin_language_version")
42-
?.let { KotlinVersion.fromVersion(it.toString()) }
43-
?: KotlinVersion.KOTLIN_2_1
44-
45-
println("Using languageVersion :ktor-test-server: ${languageVersion.get()}")
46-
47-
apiVersion = rootProject.findProperty("kotlin_api_version")
48-
?.let { KotlinVersion.fromVersion(it.toString()) }
49-
?: KotlinVersion.KOTLIN_2_1
50-
51-
println("Using apiVersion :ktor-test-server: ${apiVersion.get()}")
52-
5339
allWarningsAsErrors = true
5440
// A workaround for a compiler issue KT-74984
5541
// TODO: Remove after the issue is fixed

0 commit comments

Comments
 (0)