From c8a83153a88fe6f5b50b6f459295421f90a21583 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Wed, 16 Sep 2020 16:36:54 +0200 Subject: Extracting dokka generation to the dedicated extension point --- core/src/main/kotlin/plugability/DokkaContext.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/src/main/kotlin/plugability/DokkaContext.kt') diff --git a/core/src/main/kotlin/plugability/DokkaContext.kt b/core/src/main/kotlin/plugability/DokkaContext.kt index 323039e9..1f5f6018 100644 --- a/core/src/main/kotlin/plugability/DokkaContext.kt +++ b/core/src/main/kotlin/plugability/DokkaContext.kt @@ -1,5 +1,6 @@ package org.jetbrains.dokka.plugability +import org.jetbrains.dokka.CoreExtensions import org.jetbrains.dokka.DokkaConfiguration import org.jetbrains.dokka.utilities.DokkaLogger import java.io.File @@ -29,6 +30,7 @@ interface DokkaContext { pluginOverrides: List ): DokkaContext = DokkaContextConfigurationImpl(logger, configuration).apply { + CoreExtensions.installTo(this) // File(it.path) is a workaround for an incorrect filesystem in a File instance returned by Gradle. configuration.pluginsClasspath.map { File(it.path).toURI().toURL() } .toTypedArray() -- cgit