aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt5
1 files changed, 4 insertions, 1 deletions
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<Project> {
}
if (project.parent != null) {
- project.tasks.register<DokkaTaskPartial>("${name}Partial") {
+ val partialName = "${name}Partial"
+ project.maybeCreateDokkaPluginConfiguration(partialName)
+ project.maybeCreateDokkaRuntimeConfiguration(partialName)
+ project.tasks.register<DokkaTaskPartial>(partialName) {
configuration()
}
}