aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-09-16 16:36:54 +0200
committerBłażej Kardyś <bkardys@virtuslab.com>2020-11-27 03:15:02 +0100
commitc8a83153a88fe6f5b50b6f459295421f90a21583 (patch)
tree4ce52c287dde3a8303549287ce67e58174d9f9fc /core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt
parent585178984228a9c2e5bd2af9b675094ac6e3fa46 (diff)
downloaddokka-c8a83153a88fe6f5b50b6f459295421f90a21583.tar.gz
dokka-c8a83153a88fe6f5b50b6f459295421f90a21583.tar.bz2
dokka-c8a83153a88fe6f5b50b6f459295421f90a21583.zip
Extracting dokka generation to the dedicated extension point
Diffstat (limited to 'core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt')
-rw-r--r--core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt29
1 files changed, 0 insertions, 29 deletions
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<String, String>) = configure(
- DokkaProxyLogger(logger),
- DokkaConfigurationImpl(serializedConfigurationJSON)
- )
-
- override fun generate() {
- generator.generateAllModulesPage()
- }
-
-}