aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Utilities/DokkaModules.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2017-02-23 16:35:45 +0100
committerDmitry Jemerov <yole@jetbrains.com>2017-02-23 16:35:45 +0100
commit99689adee954582da57268ff0375fdec52193a01 (patch)
tree82b41b04e568a564ba91473e1dcaba25b611a2b6 /core/src/main/kotlin/Utilities/DokkaModules.kt
parenta39c7a161282d132d08bcf89eed0213374a574e9 (diff)
downloaddokka-99689adee954582da57268ff0375fdec52193a01.tar.gz
dokka-99689adee954582da57268ff0375fdec52193a01.tar.bz2
dokka-99689adee954582da57268ff0375fdec52193a01.zip
Merge declarations with the same signature defined for multiple platforms
Diffstat (limited to 'core/src/main/kotlin/Utilities/DokkaModules.kt')
-rw-r--r--core/src/main/kotlin/Utilities/DokkaModules.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Utilities/DokkaModules.kt b/core/src/main/kotlin/Utilities/DokkaModules.kt
index 3352a846..9bb44e09 100644
--- a/core/src/main/kotlin/Utilities/DokkaModules.kt
+++ b/core/src/main/kotlin/Utilities/DokkaModules.kt
@@ -14,6 +14,7 @@ import java.io.File
class DokkaAnalysisModule(val environment: AnalysisEnvironment,
val options: DocumentationOptions,
val implicitPlatforms: List<String>,
+ val nodeReferenceGraph: NodeReferenceGraph,
val logger: DokkaLogger) : Module {
override fun configure(binder: Binder) {
val descriptor = ServiceLocator.lookup<FormatDescriptor>("format", options.outputFormat)
@@ -33,6 +34,8 @@ class DokkaAnalysisModule(val environment: AnalysisEnvironment,
binder.bind<DokkaLogger>().toInstance(logger)
binder.bind(StringListType).annotatedWith(Names.named(implicitPlatformName)).toInstance(implicitPlatforms)
+
+ binder.bind<NodeReferenceGraph>().toInstance(nodeReferenceGraph)
}
}