Skip to content

Commit

Permalink
Update ktor monorepo to v3.1.0-eap-1225 (#4644)
Browse files Browse the repository at this point in the history
* Update ktor monorepo to v3.1.0-eap-1225

* Add a workaround for compiler error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Osip Fatkullin <osip.fatkullin@jetbrains.com>
  • Loading branch information
renovate[bot] and osipxd authored Feb 10, 2025
1 parent 6a2ef3a commit 299b1ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kotlinter = "5.0.1"
kotlinx-browser = "0.3"

# Used for test server in buildSrc
ktor = "3.1.0-eap-1190"
ktor = "3.1.0-eap-1225"

netty = "4.1.117.Final"
netty-tcnative = "2.0.69.Final"
Expand Down
8 changes: 7 additions & 1 deletion ktor-test-server/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

plugins {
Expand Down Expand Up @@ -33,4 +33,10 @@ dependencies {
// Should be synced with gradle/gradle-daemon-jvm.properties
kotlin {
jvmToolchain(21)

compilerOptions {
// A workaround for a compiler issue KT-74984
// TODO: Remove after the issue is fixed
freeCompilerArgs.add("-Xignore-const-optimization-errors")
}
}

0 comments on commit 299b1ee

Please sign in to comment.