diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-20 13:34:38 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-20 16:51:10 +0200 |
commit | e43478f9fe4a362c95276ef4de1eb3f5827e23bb (patch) | |
tree | ca0fe14192f076282208d4a569d70c11948c4b9a /runners/gradle-plugin/src | |
parent | 8516c3e1afde37bbce4b3c3de0209f5404cb2200 (diff) | |
download | dokka-e43478f9fe4a362c95276ef4de1eb3f5827e23bb.tar.gz dokka-e43478f9fe4a362c95276ef4de1eb3f5827e23bb.tar.bz2 dokka-e43478f9fe4a362c95276ef4de1eb3f5827e23bb.zip |
Declare all dokka tasks as abstract instead of open
Diffstat (limited to 'runners/gradle-plugin/src')
3 files changed, 3 insertions, 3 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt index e1ad4e3b..532e9e84 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt @@ -2,7 +2,7 @@ package org.jetbrains.dokka.gradle import org.jetbrains.dokka.DokkaConfigurationImpl -open class DokkaCollectorTask : AbstractDokkaParentTask() { +abstract class DokkaCollectorTask : AbstractDokkaParentTask() { override fun generateDocumentation() { checkChildDokkaTasksIsNotEmpty() 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 5f9f5a10..2e7b7490 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 @@ -13,7 +13,7 @@ import java.io.File typealias DokkaMultimoduleTask = DokkaMultiModuleTask -open class DokkaMultiModuleTask : AbstractDokkaParentTask(DokkaMultimoduleBootstrapImpl::class) { +abstract class DokkaMultiModuleTask : AbstractDokkaParentTask(DokkaMultimoduleBootstrapImpl::class) { /** * Name of the file containing all necessary module information. 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 e63863b3..d07873d8 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 @@ -8,7 +8,7 @@ import org.jetbrains.dokka.DokkaBootstrapImpl import org.jetbrains.dokka.DokkaConfigurationImpl import org.jetbrains.dokka.build -open class DokkaTask : AbstractDokkaTask(DokkaBootstrapImpl::class) { +abstract class DokkaTask : AbstractDokkaTask(DokkaBootstrapImpl::class) { @get:Internal val dokkaSourceSets: NamedDomainObjectContainer<GradleDokkaSourceSetBuilder> = |