From f042de920724f6e2ae4ccbcb21baed6b490290ab Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Mon, 13 Jul 2020 14:38:24 +0200 Subject: Remove duplicate `TaskAction` in DokkaMultimoduleTask.kt and DokkaTask.kt --- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultimoduleTask.kt | 2 -- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 1 - 2 files changed, 3 deletions(-) (limited to 'runners/gradle-plugin') diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultimoduleTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultimoduleTask.kt index 46e13826..26adb534 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultimoduleTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultimoduleTask.kt @@ -24,8 +24,6 @@ open class DokkaMultimoduleTask : AbstractDokkaTask(), Configurable { @Input val dokkaTaskNames: MutableSet = mutableSetOf() - - @TaskAction override fun generate() { val bootstrap = DokkaBootstrap("org.jetbrains.dokka.DokkaMultimoduleBootstrapImpl") val gson = GsonBuilder().setPrettyPrinting().create() diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt index ab36bb63..78c82888 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt @@ -118,7 +118,6 @@ open class DokkaTask : AbstractDokkaTask() { emptyList() } - @TaskAction override fun generate() = enforcedConfiguration?.let { generate(it) } ?: generate(getConfigurationOrThrow()) protected open fun generate(configuration: GradleDokkaConfigurationImpl) { -- cgit