aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2023-10-05 23:30:14 +0300
committerGitHub <noreply@github.com>2023-10-05 23:30:14 +0300
commit62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264 (patch)
tree73a30b31733967db7e8a116ca7d65bc46269e45f /plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt
parent38e09dd0a2b0f0f111c33e30665faa933142959f (diff)
downloaddokka-62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264.tar.gz
dokka-62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264.tar.bz2
dokka-62d1143ed3f2f76c4f52eaaa1e079fc8b8c7f264.zip
Register Kotlin stdlib classpath in every unit test (#3183)
Due to the recent changes in how Analysis API handles builtins, the update to the fresh version of Analysis API requires registering Kotlin stdlib in every testsuite.
Diffstat (limited to 'plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt')
-rw-r--r--plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt b/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt
index 8576803c..4cb25704 100644
--- a/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt
+++ b/plugins/base/src/test/kotlin/content/annotations/SinceKotlinTest.kt
@@ -27,6 +27,7 @@ class SinceKotlinTest : AbstractRenderingTest() {
sourceSets {
sourceSet {
sourceRoots = listOf("src/")
+ classpath = listOfNotNull(jvmStdlibPath)
analysisPlatform = "jvm"
}
}
@@ -185,6 +186,7 @@ class SinceKotlinTest : AbstractRenderingTest() {
sourceSets {
sourceSet {
sourceRoots = listOf("src/")
+ classpath = listOfNotNull(jvmStdlibPath)
analysisPlatform = "jvm"
}
sourceSet {
@@ -193,10 +195,12 @@ class SinceKotlinTest : AbstractRenderingTest() {
}
sourceSet {
sourceRoots = listOf("src/")
+ classpath = listOfNotNull(commonStdlibPath)
analysisPlatform = "common"
}
sourceSet {
sourceRoots = listOf("src/")
+ classpath = listOfNotNull(jsStdlibPath)
analysisPlatform = "js"
}
sourceSet {