Skip to content

Commit 66d6ce5

Browse files
committed
Fix dokka output
1 parent ca6e7ea commit 66d6ce5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build-support/src/main/kotlin/com/squareup/wire/buildsupport/WireBuildPlugin.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,8 @@ private class WireBuildExtensionImpl(private val project: Project) : WireBuildEx
357357

358358
if (project.isWireBom) return
359359

360-
// DokkaTaskPartial configures subprojects for multimodule docs
361-
// All options: https://kotlinlang.org/docs/dokka-gradle.html#configuration-options
362360
project.tasks.withType(DokkaTask::class.java) {
363-
outputDirectory.set(project.file("${project.rootDir}/docs/3.x"))
361+
outputDirectory.set(project.file("${project.rootDir}/docs/3.x/${project.name}"))
364362
dokkaSourceSets.configureEach {
365363
reportUndocumented.set(false)
366364
skipDeprecated.set(true)

0 commit comments

Comments
 (0)