solonovamax
10/16/2024, 8:06 PMfun DokkaPluginParametersContainer.pluginParameters(
pluginFqn: String,
configure: DokkaPluginParametersBuilder.() -> Unit
)
method, in DokkaPluginParametersBuilder.kt
. However, this method does not work as it produces the following error:
Cannot create a DokkaPluginParametersBuilder because this type is not known to this container. Known types are: DokkaHtmlPluginParameters, DokkaVersioningPluginParameters
creating my own class in my build.gradle.kts
doesn't work either, due to
Could not create domain object 'scripts' (DokkaScriptsPluginParameters)
> Could not create an instance of type Build_gradle$DokkaScriptsPluginParameters.
> Class Build_gradle.DokkaScriptsPluginParameters is a non-static inner class.
solonovamax
10/17/2024, 1:45 AMDokkaPluginParametersBuilder
using
registerFactory(DokkaPluginParametersBuilder::class.java) { name ->
objects.newInstance<DokkaPluginParametersBuilder>(name, name)
}
however, this still errors due to jsonEncode()
being annotated with @Internal
.solonovamax
10/17/2024, 2:35 AM