From 213a9d56d2c131acdc77850f7d12a678df213e45 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Dec 2025 11:15:39 +0000 Subject: [PATCH] Update kotlin monorepo to v2.3.0 (#2797) * Update kotlin monorepo to v2.3.0 * Fix build --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com> --- .../com/hippo/ehviewer/client/parser/GalleryListUrlParser.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryListUrlParser.kt b/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryListUrlParser.kt index 7d0a59945..d99247d0f 100644 --- a/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryListUrlParser.kt +++ b/app/src/main/kotlin/com/hippo/ehviewer/client/parser/GalleryListUrlParser.kt @@ -26,7 +26,7 @@ object GalleryListUrlParser { fun parse(urlStr: String) = Either.catch { val url = Url(urlStr) if (url.host != EhUrl.DOMAIN_E && url.host != EhUrl.DOMAIN_EX) { - return null + return@catch null } val segments = url.segments if (segments.isEmpty()) { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 32e4d65aa..41337a342 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -20,7 +20,7 @@ compose-bom = "2025.12.00" compose-multiplatform = "1.9.3" compose-destinations = "2.3.0" compose-preference = "2.1.0" -kotlin = "2.2.21" +kotlin = "2.3.0" kotlinx-coroutines = "1.10.2" kotlinx-datetime = "0.7.1" kotlinx-io = "0.8.2"