From c8a83153a88fe6f5b50b6f459295421f90a21583 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Wed, 16 Sep 2020 16:36:54 +0200 Subject: Extracting dokka generation to the dedicated extension point --- .../main/kotlin/DokkaMultimoduleBootstrapImpl.kt | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt (limited to 'core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt') diff --git a/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt b/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt deleted file mode 100644 index c0726584..00000000 --- a/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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() - } - -} -- cgit