aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2023-11-01 18:46:55 +0200
committerGitHub <noreply@github.com>2023-11-01 18:46:55 +0200
commit2b0a63f3565f620f7212a822aee2575a46f44897 (patch)
tree3ed57f682e309657c71c98ebeddf00e3ce492c61 /core
parent7951aff0650b4c50b82a987ba4f23879f18c9436 (diff)
downloaddokka-2b0a63f3565f620f7212a822aee2575a46f44897.tar.gz
dokka-2b0a63f3565f620f7212a822aee2575a46f44897.tar.bz2
dokka-2b0a63f3565f620f7212a822aee2575a46f44897.zip
Update Kotlin compiler and KGP to 1.9.20-RC2 (#3262)
* Update Kotlin compiler to 1.9.20-RC2 The current changes are related to https://github.com/JetBrains/kotlin/commit/d797505f06d640b666829bbfb4b7d7c67f812026 * Update KGP to 1.9.20-RC2 * Replace common stdlib in unit tests * Update Kotlin version in integration tests * Fix `Multiplatform0GradleIntegrationTest` * Turn WasmGradleIntegrationTest off for Kotlin 1.9.20-RC2
Diffstat (limited to 'core')
-rw-r--r--core/test-api/src/main/kotlin/testApi/testRunner/TestRunner.kt11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/test-api/src/main/kotlin/testApi/testRunner/TestRunner.kt b/core/test-api/src/main/kotlin/testApi/testRunner/TestRunner.kt
index 0958ea14..1f7ee060 100644
--- a/core/test-api/src/main/kotlin/testApi/testRunner/TestRunner.kt
+++ b/core/test-api/src/main/kotlin/testApi/testRunner/TestRunner.kt
@@ -191,12 +191,11 @@ public abstract class AbstractTest<M : TestMethods, T : TestBuilder<M>, D : Dokk
?.replaceAfter(".jar", "")
}
- protected val commonStdlibPath: String? by lazy {
- // TODO: feels hacky, find a better way to do it
- ClassLoader.getSystemResource("kotlin/UInt.kotlin_metadata")
- ?.file
- ?.replace("file:", "")
- ?.replaceAfter(".jar", "")
+ protected val commonStdlibPath: String? by lazy {
+ // `kotlin-stdlib-common` is legacy
+ // we can use any platform dependency
+ // since common code should be resolved with all platform
+ jvmStdlibPath
}
protected val stdlibExternalDocumentationLink: ExternalDocumentationLinkImpl = ExternalDocumentationLinkImpl(