dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Dokka Gradle task should not relay progress logging to Gradle's lifecycle level

Open eskatos opened this issue 4 years ago • 1 comments

Describe the bug Dokka Gradle task is too verbose and clutters the build output.

The Dokka Gradle task currently relays all progress logging to the Gradle lifecycle level: https://github.com/Kotlin/dokka/blob/afb1f44a76558c6997558b64a766e2f7bc2a9d36/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt#L94

FWIW, the Dokka Maven goal does this differently and relays all progress logging to the info level: https://github.com/Kotlin/dokka/blob/afb1f44a76558c6997558b64a766e2f7bc2a9d36/runners/maven-plugin/src/main/kotlin/MavenDokkaLogger.kt#L12

Expected behaviour Running the Dokka Gradle task doesn't show all progress logging in the build output by default. Running Gradle with --info shows Dokka's progress logging.

eskatos avatar Jan 08 '21 08:01 eskatos

@eskatos there was a PR. Unfortunately it has been rejected

eirnym avatar Jul 04 '24 10:07 eirnym

Dokka Gradle plugin v2 doesn't log in lifecycle: https://github.com/Kotlin/dokka/pull/3833

whyoleg avatar Dec 16 '24 15:12 whyoleg