Skip to content

Commit e202f7e

Browse files
committed
Fixed coroutines-core:dokka dependencies and link mappings
1 parent 976e1ec commit e202f7e

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

gradle/dokka.gradle

+2-10
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ if (platform == "jvm") {
5252
dokka {
5353
kotlinTasks { [] }
5454
suppressedModifiers = ['actual']
55-
// map for JS & Common sources
55+
// map for JS, Native, and Common sources
5656
makeLinkMapping(it, projectDir)
5757
makeLinkMapping(it, rootProject.file("js/$project.name-js"))
58+
makeLinkMapping(it, rootProject.file("native/$project.name-native"))
5859
makeLinkMapping(it, rootProject.file("common/$project.name-common"))
5960
// source roots
6061
impliedPlatforms = ['JVM', 'JS', 'Native']
@@ -73,15 +74,6 @@ if (platform == "jvm") {
7374
sourceRoot {
7475
path = rootProject.file("common/$project.name-common/src")
7576
}
76-
// depends on other platforms, too
77-
afterEvaluate {
78-
dependsOn(tasks.getByPath(":$project.name:classes"))
79-
dependsOn(tasks.getByPath(":$project.name-js:classes"))
80-
dependsOn(tasks.getByPath(":$project.name-common:classes"))
81-
dependsOn(project.configurations.dokkaStubs)
82-
dependsOn(project.configurations.compileClasspath)
83-
classpath = project.configurations.dokkaStubs.files + project.configurations.compileClasspath.files + project.sourceSets.main.output.files
84-
}
8577
}
8678
}
8779

0 commit comments

Comments
 (0)