Is there anyway to specify source set configuratio...
# dokka
z
Is there anyway to specify source set configuration for Collector tasks? It seems that configuration for Partial tasks is only used by MultiModule tasks, not Collectors.
rubber duck 3
Actually scratch that, even MultiModule isn’t picking up my partial configs.
i’m sure i’m missing something terribly obvious…
Copy code
subprojects {
  tasks.withType<DokkaTaskPartial>().configureEach {
    dokkaSourceSets.configureEach {
      reportUndocumented.set(false)
      skipDeprecated.set(true)
      jdkVersion.set(8)

      perPackageOption {
        // Will match all .internal packages and sub-packages.
        matchingRegex.set(""".*\.internal.*""")
        suppress.set(true)
      }
    }
  }
}
There’s nothing very special about that, it’s basically straight out of the samples, but it doesn’t seem to have any effect
ah ok, I changed
withType<DokkaTaskPartial>
to
withType<DokkaTask>
and now it works. Could have sworn i started with that…
👍 1