aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-11-10 11:46:54 +0100
committerGitHub <noreply@github.com>2023-11-10 11:46:54 +0100
commit8e5c63d035ef44a269b8c43430f43f5c8eebfb63 (patch)
tree1b915207b2b9f61951ddbf0ff2e687efd053d555 /integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
parenta44efd4ba0c2e4ab921ff75e0f53fc9335aa79db (diff)
downloaddokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.gz
dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.tar.bz2
dokka-8e5c63d035ef44a269b8c43430f43f5c8eebfb63.zip
Restructure the project to utilize included builds (#3174)
* Refactor and simplify artifact publishing * Update Gradle to 8.4 * Refactor and simplify convention plugins and build scripts Fixes #3132 --------- Co-authored-by: Adam <897017+aSemy@users.noreply.github.com> Co-authored-by: Oleg Yukhnevich <whyoleg@gmail.com>
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.kts52
1 files changed, 0 insertions, 52 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
deleted file mode 100644
index a00b4b8d..00000000
--- a/integration-tests/gradle/projects/it-multiplatform-0/build.gradle.kts
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
- */
-
-import org.jetbrains.dokka.gradle.DokkaTask
-import java.net.URL
-
-plugins {
- kotlin("multiplatform")
- id("org.jetbrains.dokka")
-}
-
-apply(from = "../template.root.gradle.kts")
-
-kotlin {
- jvm()
- linuxX64("linux")
- macosX64("macos")
- js(IR) // Starting with Kotlin 1.9.0, using compiler types LEGACY or BOTH leads to an error.
- //TODO Add wasm when kx.coroutines will be supported and published into the main repo
- 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 {
- if (properties["dokka_it_kotlin_version"] in listOf("1.4.32", "1.5.31"))
- // otherwise for a modern versin of coroutines:
- // Failed to resolve Kotlin library: project/build/kotlinSourceSetMetadata/commonMain/org.jetbrains.kotlinx-kotlinx-coroutines-core/org.jetbrains.kotlinx-kotlinx-coroutines-core-commonMain.klib
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9")
- else
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
- }
- }
- }
-}
-
-tasks.withType<DokkaTask>().configureEach {
- dokkaSourceSets {
- configureEach {
- externalDocumentationLink {
- url.set(URL("https://kotlinlang.org/api/kotlinx.coroutines/"))
- //packageListUrl.set(URL("https://kotlinlang.org/api/kotlinx.coroutines/package-list"))
- }
- }
- }
-}