aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-09 11:04:34 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-13 14:23:08 +0200
commitbb942786909961443eb1ff7feee90c190040ed49 (patch)
treeeb78a14b01645d614497475fba7ec33710fbffc6 /core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt
parent824e5240d2f7b1bda775be22e12a95c0f8f2b0eb (diff)
downloaddokka-bb942786909961443eb1ff7feee90c190040ed49.tar.gz
dokka-bb942786909961443eb1ff7feee90c190040ed49.tar.bz2
dokka-bb942786909961443eb1ff7feee90c190040ed49.zip
Refactor dokka tasks classpath configuration
Diffstat (limited to 'core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt')
-rw-r--r--core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt b/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt
index 70b99f8d..c0726584 100644
--- a/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt
+++ b/core/src/main/kotlin/DokkaMultimoduleBootstrapImpl.kt
@@ -1,3 +1,8 @@
+/**
+ * Accessed with reflection
+ */
+@file:Suppress("unused")
+
package org.jetbrains.dokka
import org.jetbrains.dokka.DokkaBootstrapImpl.DokkaProxyLogger
@@ -12,7 +17,7 @@ class DokkaMultimoduleBootstrapImpl : DokkaBootstrap {
generator = DokkaGenerator(configuration, logger)
}
- override fun configure(logger: BiConsumer<String, String>, serializedConfigurationJSON: String) = configure(
+ override fun configure(serializedConfigurationJSON: String, logger: BiConsumer<String, String>) = configure(
DokkaProxyLogger(logger),
DokkaConfigurationImpl(serializedConfigurationJSON)
)