You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hi, on CI we verify if the documentation gets generated correctly and is uptodate when creating PRs.
The code in the Screenshots section, generates files which are unstable for version control because the order changes on each dokka invocation.
Expected behaviour
Documentation generation should be stable for version control.
Additional context
We are upgrading to Kotlin 1.4 and want to upgrade dokka.
Old dokka does not allow us to upgrade Gradle because it throws an OOM exception for Gradle > 6.5 on Java 11.
The text was updated successfully, but these errors were encountered:
Hi! Could you please try to use the newest dokka version (1.4.0-rc is published to the jcenter)? It should allow you to generate the documentation correctly preserving order. It also supports Kotlin 1.4
The OOM error is easily fixable in Gradle by adding more memory (eg. you can put org.gradle.jvmargs=-Xmx4096m in your gradle.properties file)
[EDIT]: Sorry, I just saw your edit that you use the newest version and not the 0.10.0 as you mentioned before. We'll look into that. The latter part of this response still holds
Describe the bug
Hi, on CI we verify if the documentation gets generated correctly and is uptodate when creating PRs.
The code in the
Screenshots
section, generates files which are unstable for version control because the order changes on each dokka invocation.Expected behaviour
Documentation generation should be stable for version control.
Screenshots
It is the following code:
https://github.com/detekt/detekt/blob/c6ff7112b0b33afdf62e043075d67508c9e1e5b9/detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/Context.kt#L13-L45
To Reproduce
git clone https://github.com/detekt/detekt
git checkout -b "try-dokka-1.4" "origin/try-dokka-1.4"
gradle generateDocumentation --rerun-tasks
2xDokka configuration
Installation
Additional context
We are upgrading to Kotlin 1.4 and want to upgrade dokka.
Old dokka does not allow us to upgrade Gradle because it throws an OOM exception for Gradle > 6.5 on Java 11.
The text was updated successfully, but these errors were encountered: