/** * Accessed with reflection */ @file:Suppress("unused") package org.jetbrains.dokka import org.jetbrains.dokka.DokkaBootstrapImpl.DokkaProxyLogger import org.jetbrains.dokka.utilities.DokkaLogger import java.util.function.BiConsumer class DokkaMultimoduleBootstrapImpl : DokkaBootstrap { private lateinit var generator: DokkaGenerator fun configure(logger: DokkaLogger, configuration: DokkaConfiguration) { generator = DokkaGenerator(configuration, logger) } override fun configure(serializedConfigurationJSON: String, logger: BiConsumer) = configure( DokkaProxyLogger(logger), DokkaConfigurationImpl(serializedConfigurationJSON) ) override fun generate() { generator.generateAllModulesPage() } }