dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Why is org.jetbrains.dokka.gradle.DokkaPlugin#setupDokkaTasks private?

Open CLOVIS-AI opened this issue 1 year ago • 1 comments
trafficstars

I'd like to create a new output format for Material for MkDocs, which is inspired by the GFM format. I need to create Gradle tasks for this new format.

Looking at the Gradle plugin code, it seems that the following code would do everything I need:

project.setupDokkaTasks("dokkaMkDocs") {
    plugins.dependencies.add("my plugin…")
    description = "Generates documentation in 'Material for MkDocs' format"
}

However, setupDokkaTasks is private.

Question Why is setupDokkaTasks private? Could it be made public?

Installation

  • Operating system: Linux
  • Build tool: Gradle 8.8
  • Dokka version: 1.9.20

CLOVIS-AI avatar Jul 31 '24 13:07 CLOVIS-AI