Dokka doesn't seem to bubble down to subprojects i...
# dokka
s
Dokka doesn't seem to bubble down to subprojects if the plugin is applied to the root. Is this intentional?
I was going to configure Dokka partially in the root
subprojects
and partially in each project's buildscript, but if I do that, the plugin has to be applied to the root, and if it is, Dokka won't run the
dokka
task on all projects when running
./gradlew dokka
.
s
Dokka behaviour is compliant with other Gradle plugins here, when you apply
java
plugin to root, it not get applied to all subprojects You can apply and configure dokka in
subprojects
So, try to
apply plugin
in
subprojects
block
s
Even if the plugin is also applied in some subprojects' buildscripts (which it is), Dokka ignores all of the subprojects if it's also applied to the root
I don't want to apply the dokka plugin to all subprojects, but I want to be able to configure it in
subprojects
for subprojects where it's been applied via the
plugins
block