aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/plugability/DokkaPlugin.kt
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2019-12-19 15:02:03 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-08 14:30:00 +0100
commite1dad14904ca0e3b727cf0d7239db35f5402e775 (patch)
tree193b9b6da9d41d871180b51becd385f47800653b /core/src/main/kotlin/plugability/DokkaPlugin.kt
parentc36c6ae3b8c9e47afc7adabd4624c1a95039596f (diff)
downloaddokka-e1dad14904ca0e3b727cf0d7239db35f5402e775.tar.gz
dokka-e1dad14904ca0e3b727cf0d7239db35f5402e775.tar.bz2
dokka-e1dad14904ca0e3b727cf0d7239db35f5402e775.zip
Resolved problems with plugins loading ordering and added type safe ordering function
Diffstat (limited to 'core/src/main/kotlin/plugability/DokkaPlugin.kt')
-rw-r--r--core/src/main/kotlin/plugability/DokkaPlugin.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/main/kotlin/plugability/DokkaPlugin.kt b/core/src/main/kotlin/plugability/DokkaPlugin.kt
index 7a968b8b..3f82000d 100644
--- a/core/src/main/kotlin/plugability/DokkaPlugin.kt
+++ b/core/src/main/kotlin/plugability/DokkaPlugin.kt
@@ -40,8 +40,6 @@ abstract class DokkaPlugin {
extensionDelegates.asSequence()
.filterIsInstance<KProperty1<DokkaPlugin, Extension<*>>>() // should be always true
.map { it.get(this) }
- .forEach { ctx.addExtension(it) }
+ .forEach { ctx.addExtensionDependencies(it) }
}
-
-
} \ No newline at end of file