-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider supporting Gradle's configuration cache #1217
Comments
Given this plugin is currently being deeply reworked I didn't bother reporting what exact issues the "old" dokka or the "new" dokka have. Running a build with |
This is awesome. We try to implement this (probably even with #1194 ) |
FYI, Kotlin |
There are still a couple of warnings when using the configuration cache with dokka plugin. The configuration cache report points to dokka/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt Lines 70 to 74 in ac4b818
I think the best thing is to setup the configurations when the tasks are created and set the classpath files there, but I'm not familiar with the dokka Gradle plugin internals and it's a bit more complex than I'm comfortable with otherwise I would attempt the change. But if |
Any new update? |
This will be supported in version 1.8.0. See: Kotlin/dokka#1217
This will be supported in version 1.8.0. See: Kotlin/dokka#1217
This will be supported in version 1.8.0. See: Kotlin/dokka#1217
This will be supported in version 1.8.0. See: Kotlin/dokka#1217
This will be supported in version 1.8.0. See: Kotlin/dokka#1217
It looks like there is no update on the configuration cache yet. |
Hi all, I have an update. We're planning to release a new version of Dokka Gradle Plugin (DGPv2 for short) in the Dokka 2.0.0 release. DGPv2 is based on Dokkatoo. The current Dokka Gradle Plugin (DGPv1) will become deprecated. DGPv2 fully supports configuration cache and build cache! We'll be releasing a version for previewing soon, along with a migration guide. So, watch this space... |
The configuration cache is a feature that significantly improves build performance by caching the result of the configuration phase and reusing this for subsequent builds.
Implementing support for the configuration cache in this plugin would improve users experience.
See https://docs.gradle.org/nightly/userguide/configuration_cache.html
The configuration cache is introduced in Gradle 6.6.
This can already be tested using
6.6-rc-2
.The text was updated successfully, but these errors were encountered: