-
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
Error: Could not load the value of field values
... found in field dokkaSourceSets
of task :dokkaHtml
#2612
Comments
Seeing how half of the stacktrace is about configuration cache, I do wonder if it's related to Dokka not supporting it fully (see #1217)
Does it work if you disable it all? |
I'll check when I'm able. Have you tried marking the Dokka tasks as incompatible with the configuration cache? https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:task_opt_out |
I can confirm that disabling the config cache does indeed fix this issue. |
Even when adding tasks.withType<DokkaTask> {
notCompatibleWithConfigurationCache("https://github.com/Kotlin/dokka/issues/1217")
} I'm still running into this issue. I wonder why the task doesn't automatically disable the config cache in this case 🤔 |
root level build.gradle
helped me to solve the issue |
Just in case, while Dokka Gradle Plugin at this moment doesn't support Gradle Configuration Cache, starting from 1.9.20 we do mark tasks as |
Describe the bug
I am trying to release to Maven Central, but when I publish, I get an error
Gradle build cache, configuration cache, and parallel are enabled.
To Reproduce
https://github.com/adamko-dev/kotka-streams/tree/214c5cff39918adcabe565c5c017cfa933cb7885
Tag
v22.08.06
Run the command
./gradlew publishAllPublicationsToProjectLocalDirRepository
twiceDokka configuration
The only Dokka config is adding it to the Javadoc Jar:
Installation
The text was updated successfully, but these errors were encountered: