From 51377df14fcbc326a79fcee0975d29b5ca014a85 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 16 Mar 2017 17:19:30 +0300 Subject: Deprecate old kotlin-website formats --- core/src/main/kotlin/Utilities/DokkaModules.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src/main/kotlin/Utilities') diff --git a/core/src/main/kotlin/Utilities/DokkaModules.kt b/core/src/main/kotlin/Utilities/DokkaModules.kt index 5982d7dd..e213c0fc 100644 --- a/core/src/main/kotlin/Utilities/DokkaModules.kt +++ b/core/src/main/kotlin/Utilities/DokkaModules.kt @@ -19,6 +19,8 @@ class DokkaAnalysisModule(val environment: AnalysisEnvironment, val nodeReferenceGraph: NodeReferenceGraph, val logger: DokkaLogger) : Module { override fun configure(binder: Binder) { + binder.bind().toInstance(logger) + val descriptor = ServiceLocator.lookup("format", options.outputFormat) binder.registerCategory("language") @@ -33,7 +35,6 @@ class DokkaAnalysisModule(val environment: AnalysisEnvironment, binder.bind().toInstance(dokkaResolutionFacade) binder.bind().toInstance(options) - binder.bind().toInstance(logger) binder.bind().toInstance(defaultPlatformsProvider) -- cgit