From 00c5a78bdd5a83873f5f8ef78e50db0d4fc29557 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 13 Jan 2021 02:32:48 +0100 Subject: Fix a bug with not creating Gradle configurations for partial tasks --- .../gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka') diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt index 4da14120..004e1a6f 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt @@ -50,7 +50,10 @@ open class DokkaPlugin : Plugin { } if (project.parent != null) { - project.tasks.register("${name}Partial") { + val partialName = "${name}Partial" + project.maybeCreateDokkaPluginConfiguration(partialName) + project.maybeCreateDokkaRuntimeConfiguration(partialName) + project.tasks.register(partialName) { configuration() } } -- cgit