From ee8e73012c1a7f86783920181590489d740af839 Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Mon, 26 Sep 2022 16:46:41 +0300 Subject: 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 --- .../gradle/projects/it-multiplatform-0/build.gradle.kts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts') 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().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")) } } } -- cgit