diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2021-01-13 02:32:48 +0100 |
---|---|---|
committer | Kamil Doległo <9080183+kamildoleglo@users.noreply.github.com> | 2021-01-18 11:20:29 +0100 |
commit | 00c5a78bdd5a83873f5f8ef78e50db0d4fc29557 (patch) | |
tree | 5f4f0d0554a62e381e819889860e97a98ba69b18 /runners/gradle-plugin/src | |
parent | c04295aa7f0bdad9eb7b27e3dbc2b2c90094da86 (diff) | |
download | dokka-00c5a78bdd5a83873f5f8ef78e50db0d4fc29557.tar.gz dokka-00c5a78bdd5a83873f5f8ef78e50db0d4fc29557.tar.bz2 dokka-00c5a78bdd5a83873f5f8ef78e50db0d4fc29557.zip |
Fix a bug with not creating Gradle configurations for partial tasks
Diffstat (limited to 'runners/gradle-plugin/src')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt | 5 |
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() } } |