Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.4k stars 399 forks source link

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

Open eskatos opened 3 years ago

eskatos commented 3 years ago

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.

eirnym commented 2 months ago

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