File tree 1 file changed +2
-10
lines changed
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,10 @@ if (platform == "jvm") {
52
52
dokka {
53
53
kotlinTasks { [] }
54
54
suppressedModifiers = [' actual' ]
55
- // map for JS & Common sources
55
+ // map for JS, Native, and Common sources
56
56
makeLinkMapping(it, projectDir)
57
57
makeLinkMapping(it, rootProject. file(" js/$project . name -js" ))
58
+ makeLinkMapping(it, rootProject. file(" native/$project . name -native" ))
58
59
makeLinkMapping(it, rootProject. file(" common/$project . name -common" ))
59
60
// source roots
60
61
impliedPlatforms = [' JVM' , ' JS' , ' Native' ]
@@ -73,15 +74,6 @@ if (platform == "jvm") {
73
74
sourceRoot {
74
75
path = rootProject. file(" common/$project . name -common/src" )
75
76
}
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
- }
85
77
}
86
78
}
87
79
You can’t perform that action at this time.
0 commit comments