diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-07-01 17:36:50 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-07 10:07:21 +0200 |
commit | 0533ef9a56ae34138a3f8a5e996805713c48c384 (patch) | |
tree | 9130b79b048feb003b704d0f5024809037944bf2 /plugins/kotlin-as-java/src/main | |
parent | 177ede83228515f03436a4ac0ce1ce573fc3d74b (diff) | |
download | dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.tar.gz dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.tar.bz2 dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.zip |
Add overrides to provided plugins
Diffstat (limited to 'plugins/kotlin-as-java/src/main')
-rw-r--r-- | plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPlugin.kt | 8 |
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 |