Skip to content

Commit a265145

Browse files
authored
Fix (#5254)
Fix NoClassDefFoundError HttpTimeout ``` Caused by: java.lang.NoClassDefFoundError: io/ktor/client/features/HttpTimeout ``` When run: ``` gradlew reuploadArtifactsToMavenCentral --info --stacktrace -Pmaven.central.sign=false -Pmaven.central.coordinates=org.jetbrains.compose.ui -Pmaven.central.stage=org.jetbrains.compose ``` By upgrading ktor, as Ktor 1 and Ktor 2 aren't backward compatible. 2 versions were used: ``` gradlew buildSrc:dependencyInsight --configuration compileClasspath --dependency ktor-client-core ``` ``` io.ktor:ktor-client-core-jvm:2.3.13 \--- io.ktor:ktor-client-core:2.3.13      +--- io.ktor:ktor-client-okhttp:1.6.4 (requested io.ktor:ktor-client-core:1.6.4)      |    \--- compileClasspath      \--- org.jetbrains:space-sdk-jvm:2024.3-185883           \--- compileClasspath ``` ## Release Notes N/A
1 parent c971909 commit a265145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build-helpers/buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies {
1818
val jacksonVersion = "2.12.5"
1919
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:$jacksonVersion")
2020
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion")
21-
implementation("io.ktor:ktor-client-okhttp:1.6.4")
21+
implementation("io.ktor:ktor-client-okhttp:2.3.13")
2222
implementation("org.apache.tika:tika-parsers:1.24.1")
2323
implementation("org.jsoup:jsoup:1.14.3")
2424
implementation("org.jetbrains:space-sdk-jvm:2024.3-185883")

0 commit comments

Comments
 (0)