aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-13 14:38:24 +0200
committersebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-13 14:38:24 +0200
commitf042de920724f6e2ae4ccbcb21baed6b490290ab (patch)
treecbca0f33cc62c234594a4d8e7a22d5c5b7d09fa9 /runners/gradle-plugin
parentff1bb8085cd87eb20079a66f19c688b092d583f4 (diff)
downloaddokka-f042de920724f6e2ae4ccbcb21baed6b490290ab.tar.gz
dokka-f042de920724f6e2ae4ccbcb21baed6b490290ab.tar.bz2
dokka-f042de920724f6e2ae4ccbcb21baed6b490290ab.zip
Remove duplicate `TaskAction` in DokkaMultimoduleTask.kt and DokkaTask.kt
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultimoduleTask.kt2
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt1
2 files changed, 0 insertions, 3 deletions
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<String> = 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) {