aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/main/kotlin
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-07-01 17:36:50 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-07 10:07:21 +0200
commit0533ef9a56ae34138a3f8a5e996805713c48c384 (patch)
tree9130b79b048feb003b704d0f5024809037944bf2 /plugins/kotlin-as-java/src/main/kotlin
parent177ede83228515f03436a4ac0ce1ce573fc3d74b (diff)
downloaddokka-0533ef9a56ae34138a3f8a5e996805713c48c384.tar.gz
dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.tar.bz2
dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.zip
Add overrides to provided plugins
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin')
-rw-r--r--plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPlugin.kt8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPlugin.kt b/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPlugin.kt
index bf9b8dc0..5f06852e 100644
--- a/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPlugin.kt
+++ b/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPlugin.kt
@@ -13,11 +13,7 @@ class KotlinAsJavaPlugin : DokkaPlugin() {
val javaSignatureProvider by extending {
val dokkaBasePlugin = plugin<DokkaBase>()
dokkaBasePlugin.signatureProvider providing { ctx ->
- JavaSignatureProvider(
- ctx.single(
- dokkaBasePlugin.commentsToContentConverter
- ), ctx.logger
- )
- }
+ JavaSignatureProvider(ctx.single(dokkaBasePlugin.commentsToContentConverter), ctx.logger)
+ } override dokkaBasePlugin.kotlinSignatureProvider
}
} \ No newline at end of file