From 0533ef9a56ae34138a3f8a5e996805713c48c384 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Wed, 1 Jul 2020 17:36:50 +0200 Subject: Add overrides to provided plugins --- plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPlugin.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'plugins/kotlin-as-java') 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() 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 -- cgit