Skip to content

Commit 976e1ec

Browse files
committed
Fixed dokka dependencies so that "clean site" works
1 parent 9d56c57 commit 976e1ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gradle/dokka.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ if (platform == "jvm") {
3535
dokka {
3636
kotlinTasks { [] }
3737
outputFormat = 'kotlin-website'
38+
dependsOn(project.configurations.dokkaStubs)
39+
dependsOn(project.configurations.compileClasspath)
40+
dependsOn(project.sourceSets.main.output)
3841
afterEvaluate {
39-
dependsOn(project.configurations.dokkaStubs)
40-
dependsOn(project.configurations.compileClasspath)
4142
classpath = project.configurations.dokkaStubs.files + project.configurations.compileClasspath.files + project.sourceSets.main.output.files
4243
}
4344
}

0 commit comments

Comments
 (0)