Hey everyone, Does anyone know what the correct sy...
# dokka
s
Hey everyone, Does anyone know what the correct syntax is for this in Kotlin Gradle Script? I cannot find an example for it.
This fails with:
Copy code
* What went wrong:
Script compilation error:

  Line 75:     dokkaGfmPlugin(project(":local-module"))
               ^ Unresolved reference: dokkaGfmPlugin
j
the problem is how you apply the plugin, if you dont use the plugins block, you dont get the accessors
can you try
"dokkaGfmPlugin"(project(...))
?
personally, I would avoid using subprojects + apply, and I would create a precompiled plugin which you can use in all modules
with the shared configuration, in this case, dokka config