Open ilya-g opened 1 year ago
For reference, I've tried to resolve this in Dokkatoo. It wasn't easy!
I defined a 'base' plugin config class. Subclasses (e.g. DokkaHtmlPluginParameters
) have the correct Gradle input annotations.
In the Dokkatoo extension I created a container that holds the configuration for each plugin
This same container is also passed into the appropriate Task, and marked as @Nested
so the inputs of the plugin configs would be recognised by Gradle.
Describe the bug Changing content in templates directory doesn't make Dokka tasks that use these templates outdated and the documentation isn't rebuilt. It looks like the path to templates directory is being snapshotted as a plain string property
Expected behaviour Templates directory is treated as an input directory, so its content is snapshotted.
Dokka configuration Configuration of dokka used to reproduce the bug
Installation