blob: 52aa9d368224795880bedc3e62a7d6591a0048a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import org.jetbrains.dokka.gradle.DokkaTask
plugins {
kotlin("multiplatform")
id("org.jetbrains.dokka")
}
apply(from = "../template.root.gradle.kts")
kotlin {
jvm()
linuxX64("linux")
macosX64("macos")
js()
sourceSets {
named("commonMain") {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8-1.4.0-rc")
}
}
}
}
tasks.withType<DokkaTask> {
dokkaSourceSets {
create("commonMain")
create("jvmMain")
create("linuxMain")
create("macosMain")
create("jsMain")
}
}
|