aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2022-09-26 16:46:41 +0300
committerGitHub <noreply@github.com>2022-09-26 16:46:41 +0300
commitee8e73012c1a7f86783920181590489d740af839 (patch)
tree4c286b99ca6e7a62a82fba58d3881b10e0afa7b6 /integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
parenta816e917995858129ad074409f73e99d3b100318 (diff)
downloaddokka-ee8e73012c1a7f86783920181590489d740af839.tar.gz
dokka-ee8e73012c1a7f86783920181590489d740af839.tar.bz2
dokka-ee8e73012c1a7f86783920181590489d740af839.zip
Extract classpath from `KotlinSharedNativeCompilation` as well (#2664)
* Extract classpath from `KotlinSharedNativeCompilation` as well * Enhance mpp integration test * Enable HMPP for old Kotlin in integration test * Add comments
Diffstat (limited to 'integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts')
-rw-r--r--integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts12
1 files changed, 10 insertions, 2 deletions
diff --git a/integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts b/integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
index 9f93c2cd..2cea2076 100644
--- a/integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
+++ b/integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
@@ -14,6 +14,14 @@ kotlin {
macosX64("macos")
js()
sourceSets {
+ val commonMain by sourceSets.getting
+ val linuxMain by sourceSets.getting
+ val macosMain by sourceSets.getting
+ val desktopMain by sourceSets.creating {
+ dependsOn(commonMain)
+ linuxMain.dependsOn(this)
+ macosMain.dependsOn(this)
+ }
named("commonMain") {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9")
@@ -26,8 +34,8 @@ tasks.withType<DokkaTask>().configureEach {
dokkaSourceSets {
configureEach {
externalDocumentationLink {
- url.set(URL("https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/"))
- //packageListUrl.set(URL("https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/package-list"))
+ url.set(URL("https://kotlinlang.org/api/kotlinx.coroutines/"))
+ //packageListUrl.set(URL("https://kotlinlang.org/api/kotlinx.coroutines/package-list"))
}
}
}